can doctors tell if you had sex