Kinda embarrassing but....

Ok so sometimes I get the urge to masturbate and I normally just do it quickly give myself one little orgasm and then stop...well I had such an urge about 20 minutes ago and this time for some reason I just did not want to stop...I gave myself 5...apparently it was to much...because I ended up having a contraction....this sucks :( I am only 27 weeks and now scared to masturbate or have sex lol