Medications. Some can keep you awake at night. Make sure your doctor knows about all the medications you take. She may suggest you adjust when to take it or how much you take. She may even be able to change your medication to something that won't affect your slumber.