Diaphragmatic hernias are classified based on whether ... They then use sutures (stitches) to close and repair the hernia.