i used to always get nightmares as well and it sucked
not sure if this applies to u or this is the reason they went away but keeping my room clean before bed helped me
it doesnt have to be perfect but like an uncluttered desk, not having things lying around on the floor or hanging off a chair, etc. was helpful
personally, i like keeping a lot of my items in baskets on my shelves so that even if things get cluttered sometimes, its not easily viewable and ur room still looks neat overall
not sure if this applies to u or this is the reason they went away but keeping my room clean before bed helped me
it doesnt have to be perfect but like an uncluttered desk, not having things lying around on the floor or hanging off a chair, etc. was helpful
personally, i like keeping a lot of my items in baskets on my shelves so that even if things get cluttered sometimes, its not easily viewable and ur room still looks neat overall