Cramps

Hi ladies, I have a question. In 4 weeks pregnant and ive been having mild cramps and was wondering if it was safe to have sex? Ive heard so much stories about not having sexual inter course in the firt trimester.