Hi... There might be various possible reasons for this condition of yours. But the solution remains same.
Follow these steps before sleep.
1. Do not drink too much water.
2. Keep your bed clean and organized.
3. Wash your feet, hands, and face before going to
sleep.
4. Keep an alarm for 4:45 am for you to wake up
and go to the washroom.
5. You can come back and sleep again.
Peeing while dreaming also suggest that you are surrounded by certain problems/situations/issues/people that you feel like cleansing out. Seek Counselling/Psychotherapy for such issues.
Next Steps
Consult a Psychologist.
CBT along with Psychoanalysis will work well in your case.
Health Tips
Mr. Gunjan Maithil
Senior Psychologist
Cell: Nine Six Seven One Three Zero Three One Three Four (whatsapp)
Website:https://gunjanmaithil.wixsite.com/therapy
App: http://wix.to/fECHB08?ref=cl