Think more during the day, and your brain will naturally continue to think at night, and you will dream about these things in your dreams. This is called thinking during the day and dreaming at night.
I suggest you find someone to chat with, or do exercise, read books, listen to music and relieve the pressure, otherwise there will always be such a backlog, and problems will arise sooner or later. If it is serious, you may get depression. This is a very dangerous thing.