A nocturnal emission or "wet dream" is when a boy or man has an orgasm while sleeping. Wet dreams can begin after a boy goes through puberty. Many young men have their first orgasm this way. They might not understand what has happened to them, if they have not been taught anything about sex.