Next, know if you are taking medication which causes insomnia as a side effect. Read the label or the bottle of the medicine you’re taking, if there is. Many prescription drugs can interfere with sleep, including antidepressants, stimulants, high blood pressure medications, and some contraceptives. Common over-the-counter culprits include cold and flu medications that contain alcohol, pain relievers that contain caffeine, and slimming pills.