Prioritize a sleep routine. Good habits during the day and evening can help signal to your body that it's time to fall asleep and get the rest you need. Try to stick to a consistent bedtime and routine, and make a point of avoiding phones and electronic devices before bed. Blue light can reduce melatonin, making it harder to fall asleep. You should also limit caffeine in the late afternoon and evening. Keeping your bedroom dark and quiet can help you fall asleep.