Did you try developing good sleep hygiene and you're still having trouble falling and/or staying asleep at night? Have you tried drinking warm milk, eating a small snack, writing in your journal, and/or reading before bed to help you fall asleep and it hasn't been helping, either?
If you're still having trouble falling and/or staying asleep at night, even after developing good sleep hygiene and trying some of the home remedies for getting to sleep, you may need to speak to your doctor about the possibility of taking sleep medication.
I know some people really do not like the idea of taking medication. However, the benefits of being well rested might outweigh the disadvantages of taking medication. Only you and your doctor can decide if sleep medication, also called sedatives or hypnotics, is a viable option for you.
You may need to try more than one sleep medication before you find the right hypnotic for a chronic sleeping problem. If this happens to be the case with you, don't lose hope. There are several different types of medication doctors can prescribe someone to help him or her sleep. While Ambien may work wonder for a friend of yours, it may not be the right medication for you. Everyone is different, and different medications work for different people.
Be sure to talk to your doctor about all of the symptoms you experience when you have trouble sleeping. Make sure you tell your doctor if you have trouble falling asleep, staying asleep, or both as well as whether you experience a lot of anxiety when you try to sleep. This information will help your doctor decide what medication may be most appropriate for your specific situation.