The only way to effectively treat a hernia is through surgical repair. However, whether or not you need surgery depends on the size of your hernia and the severity of your symptoms. Your doctor may want to simply monitor your hernia for possible complications.