Have you ever told someone to have “sweet dreams” before bed? We all would prefer to have blissful, enjoyable dreams over terrifying, peculiar nightmares. If you want to have a nice dream over a bad one, research suggests that a couple of lifestyle changes just might do the trick. While we still have a lot to learn about the science of dreams, bad dreams are linked to our brains either preparing for stressful situations in our waking lives or trying to process traumatic memories we’ve already experienced. Moreover, the more relaxed and calm we are before bed, the greater our chances of experiencing soothing dreams that match our mood. That’s why it’s vital to avoid distressing media or conversations before sleep, along with stimulants like caffeine or food that boost metabolism and brain activity. Alcohol is known to fragment sleep and induce bad dreams, too, so opting for your evening cocktail with any early dinner rather than drinking into the night is best. More research may be needed to reveal the true science of dreaming, but bad dreams don’t have to be a nightly occurrence.