Sex during first trimester. I'm like 5 weeks is it ok to have sex

Sara
Yes or no. I'm scared because I have had a miscarriage 4 years ago. And we have not been to out first doctor appt. Do you think it is safe to have sex?