It sounds like anxiety which is causing you to lose sleep and it goes into a vicious cycle. If this continues, please see your doctor to see if he can give you something to help you sleep (I don't know why he didn't give you something for vertigo or sleep then). Losing sleep causes a whole host of problems.
I hope you sleep better soon. Sending big hugs.