After having hernia surgery, a full recovery is important. Following your physician's instructions and taking the appropriate steps can substantially improve your healing process. Begin by taking pain relievers as directed by your doctor. Avoid strenuous activity for at least two days. Nourish yourself with a balanced diet to aid healing.