Diagnosis of PID involves a combination of physical examinations, laboratory tests, and imaging studies, such as an ultrasound. Treatment usually involves antibiotics to cover a broad range of potential pathogens. In severe cases, hospitalization may be necessary.