36&4 help

I have been on bed rest for 2 weeks almost but they haven't said no sex. Would it be okay? I'm honestly over being pregnant... :(