Your doctor will ask about your sleeping habits. She'll also ask if you're having any emotional problems or taking any medications that might affect your sleep. You may be asked to keep a sleep diary. Your doctor may suggest the following tests:
• Blood tests to rule out conditions such as anemia (low blood count) or a sluggish thyroid • CT or MRI scans to rule out a problem with your nervous system • Polysomnography, a sleep test • EEG to measure the electrical activity in your brain