After having hernia surgery, a rapid recovery is important. Sticking with your surgeon's instructions and taking the appropriate steps can substantially improve your healing process. Begin by ingesting pain drugs as instructed by your surgeon. Stay away from strenuous activity for at least four days. Eat a healthy diet to promote healing.