It’s a good idea to try to avoid straining as much as possible when using the bathroom with a hernia. Increased abdominal pressure may worsen your symptoms.