Thinking and dreaming about sex

Hi

Sorry for being so honest...but i really dont know what to do

Im 9 weeks pregnant,,,high risk due to previous early mc and preterm delivery few months back

Now we r avoiding sex and orgasm..but it seems that i can't stop thinking about it,,i started having sex dreams almost everyday

Sometimes i woke up from one of those dream with the feeling of having real orgasm!

Im so happy with getting pregnant and will never do anything to risk losing it..but i don't know how to avoid all this, its been 5 weeks since we stopped and its killing me 💔 also im afraid those orgasms will hurt my baby 😭

Can u plz share ur experience