I'm not good at regualting my sleep and my dreams, but when my mind is very busy with uncomfortable stuff, I try to calm down a while before going to sleep, and not watch any tv right before going to bed. I often use a sleep playlist on Spotify, with the volume very low. Smells also helps me focus on here and now, so I also use a drop of lavender oil on my wrists.