Sex in first trimester??

I’ve had a miscarriage a few months ago and now pregnant again. Both pregnancies I’ve had spotting and terrified to have sex while I’m pregnant in first trimester . Doctor hasn’t said not to but I feel like it’s a bit risky . Has anyone been told not to?