I had a dream! I had sex with a girl!

Omg! Why? I had a orgasm and woke up And my heart was beating so fast!!!!! (Still is) Am I wrong for this? Is baby ok? My uterus was tightening! I'm 17 weeks