An ultrasound can help diagnose PID. This test uses sound waves to take pictures of the pelvic area. It can show abnormal changes in the pelvic organs.