If you’re experiencing any symptoms of insomnia, your first stop should be your doctor’s office. A primary care physician is likely to ask you a number of questions about your sleep patterns, as well as lifestyle, and medical history. You may be asked to keep a sleep diary where you will log your periods of sleep, food intake, medications, alcohol use, and exercise for a period of time (usually a couple of weeks). If you have a partner, the doctor may want to interview him or her in order to gather information about whether you snores or have restless sleep.

A physical exam will also be given, which will help a physician determine the diagnosis. A doctor may want to perform a sleep test, which monitors brain waves, breathing, heartbeat, and eye and body movements while a patient sleeps. A sleep test will help a doctor better identify the problems and determine if there are any underlying causes to a patient’s insomnia.