Help anyone?!

I’m currently curious honestly! I was admitted to the hospital last Wednesday for premature labor 32 weeks & 3 days they had me on Mag at first but sent me home on procardia to take by mouth every six hours. Last Wednesday when I went in I was 2cm at first that Monday I went to my obgyn I was a loose 1cm dilated by the time I left The hospital I was a 2 to a 3cm dilated 30% effected, I’m on bed rest I can’t do anything but go use the bathroom and go to another room but anyhow I’m curious to know why the dr said no sex? Because honestly I want to but I’m terrified to know what will happen! I’m sorry it’s probably a little scattered I’m having a rough day 😭 also currently 33 weeks and 3 days now if anyone is curious Sunday I’ll be 34 weeks!