You problem is called nocturnal ejaculation it is normal with every male who are not engaged into active sexual life if u are married then engage yourself into regular sexual activity. If you are unmarried than masturbate at least twice a week, do not get panicky about my advice to masturbate as it accepted medical practice worldwide.