Hi, John. What you described is called a wet dream. Wet dreams are very common and have no negative effects on a person's health. It's not a disease hence there's no cure.
Rest you can read here:
https://lovematters.in/en/term/wet-dreams
https://lovematters.in/en/news/wet-dreams-top-five-facts
As for masturbation, that's upto you. Just remember that masturbation is a safe way to satisfy yourself. It would do no harm nor any illness. But there are many other activities where you can spend or utilize your time such as sports, games or pursue your hobbies. https://lovematters.in/en/resource/men-masturbating
If you would like to join in on a further discussion on this topic, join our discussion board, "Just Ask”
https://lovematters.in/en/forum
Hi, John. What you described…