STI testing

I don’t think my doctor was understanding I was still a little confused lol. Does a negative STI test means I’m clear for STD’s? (And I haven’t had sex in like 2 months)