Sex during first trimester

Hi everyone,

I recently found out I was pregnant. I am now 7 weeks pregnant and my husband and I had sex. Shortly after, I noticed a little red in my undies. How long does the bleeding/spotting last after sex while pregnant?