Caffeine is a stimulant and may cause poor sleep.Nicotine (from smoking) is a stimulant, and it would help not to smoke.Street drugsStreet drugs (for example, ecstasy, cocaine, cannabis and amfetamines) can affect sleep.Prescribed medicinesSome medicines sometimes interfere with sleep.