what u have is normal and u need not to worry about it.
u are not doing sex or masturbation
these are ways to fetch sperm out.
body has limited capacity to store sperm while production continue 24 hrs.
so when it full ,then overflow start.
u might see some dream and fall occur.