How do you know

How do you know if you have an infection? I had sex at 3 weeks pp and i have no signs of infection besides I'm sick and have flu signs but that's all i have and im spotting again (ill be 4 weeks tomorrow)