Doctors check for a bulge during an exam. Then, they might use MRI or CT scans. These tests help confirm the hernia.