Sex when 5 weeks pregnant

Im 5 weeks pregnant and I just had sex with my husband. I feel so bad now thinking something will happen to the baby. Is it okay?