Bleeding after sex 12 weeks pregnant

Hi, my husband and I had sex and I had bleeding after. Has anyone else had this? I never had this with my first so it’s freaking me out a little. If you did, how long did it last for? Was baby okay?