Masturbating in dream

6 weeks preggo and was wet dreaming and masturbating in my sleep just for few seconds. As it woke me up my lower stomach hurt a little bit nothing too much thank god i woke up quick. Does anyone have similar experiences or any ideas