pregnant.. but surprise!!!

We went to the doctor yesterday for the 1st time for our rainbow baby currently 8 weeks I had a miscarriage in August everything looked OK we have an author sound on December 8 now for the good stuff my doctor calls today and just pops out high you tested positive for Gonorrhea! Wait I what?! I've only been with my husband since 2012 I know my husband cheated on me in 2015 but I had these tests in July when I was pregnant with our last and everything came back negative... I don't know how this stuff works... does this mean he cheated on me since then or could he have gotten it in 2015 and it just now be popping up? im so sick over this!!!! please dont be mean i literally am confused. :(