Meditating once every night and going to sleep with a kind heart can improve the quality of sleep and keep nightmares away.