I take Xanax (alprazolam). 5mg once in a blue moon but I had one today and I need to know if after 7 hrs of taking it is it ok to have alcoholic drinks.

Not ideal. Xanax (alprazolam) is relatively short acting. You should try not to mix it at all with alcohol but seven hours should be sufficient to lower your levels to safe levels.