is not recommended for everyone. But, if you are being tested or treated for other
sexually transmitted disease
, your doctor may screen you for genital herpes.
If you are pregnant, your doctor will ask you if you have genital herpes and examine you for any sores in your genital area. A test may also be done to find out if you do have the virus. This is especially important at the time of labor to avoid spreading the virus to your baby.