Sex infection

If i had sex earlier than 6 weeks after having a baby how would i know i have a infection. I had sex at 4 weeks pp n i told my ob but she didnt say nothing just to use protection. Ive been having a stomach ache for a couple of days n feelingg naseous but idk what to look for