This is Dr. David
you have to have a prescription to buy those sleep medications.
you really should see your GP doctor to have your sleep issues and insomnia evaluated.
abnormal thyroid hormone levels can cause poor sleep and no sleep and would need to be fixed to help your sleep.
your GP doctor can also order a sleep study and sleep evaluation to see why you might not be sleeping well
you need to also practice good sleep hygiene habits to help your sleeping.
regular exercise can also help improve sleep.
and there are less habit forming medications than barbituates which can be used to help sleep such as Ambien or Lunesta.
mild hormone agents like Melatonin can also help improve your sleep.
avoiding caffeine can help your sleep.
no computer and no TV in the bed room can help sleep
are you have to do some regular exercise 3-5 times a week to help your sleep?