Microbiological tests should be conducted when a patient presents with symptoms of infection, such as abnormal vaginal discharge, itching, burning, pain during intercourse, or unusual bleeding. Routine screening for STIs and cervical cancer also involves microbiological testing.