It depends on the case; there is no single guideline.
Review: caffeine, alcohol, nicotine, opioids, cocaine and cannabis alter sleep architecture (less deep or REM sleep, awakenings). Reducing these substances, especially in the afternoon and evening, improves sleep quality.
View the study (study) →Lifestyle · Highest evidence: Low-moderate · 1 finding
Information, not medical advice. Prescription drugs require a doctor.
Information, not medical advice. Scientific evidence reflects the quality of the studies.