What's the medication? Be careful with the doses. Anxiety medication is not meant to help you sleep necessarily although it can lead to sleep through relaxation. (Sorry for sounding like such a dad!)
@Ren oh I am aware! Hehe I don't mind the advice, it means you care! Its Xanax, and it's the only medication that stops my anxiety and racing thoughts so that I can fall asleep. It's not because I wasn't sleepy, trust me, lol! It's a really old prescription so that may be why it didn't work as well... I just haven't had to take it in so long.