Confused😬

If you get checked can the doctor see the last time you had sex?