Hernias can be treated without surgery by changing how you live or using special clothes. But some need surgery to fix. How long and how well you recover depends on the hernia.