This situation is mostly because the penis is frequently pulled in the vagina during sexual intercourse, which damages the vaginal mucosa or cervical mucosa. It is recommended to observe your situation for a few days first. If it is only occasionally, it is not a big problem.
Guiding opinions:
If it happens frequently, you should go to the hospital for relevant examination to see if there is inflammation in the cervix, and then carry out targeted treatment.