I am 13 years old and recently quit masterbation. Now sperm has come out while I am asleep once and in school it also came out without me touching my penis. Also sperm has leaked out of it today towards night time. Why is this happening and what can I do to stop it?

Summarized question: What causes nocturnal emission?