After having hernia surgery, a smooth recovery is essential. Following your surgeon's instructions and taking the necessary steps can greatly improve your healing process. Start by taking pain drugs as prescribed by your physician. Stay away from heavy activity for at least three weeks. Nourish yourself with a balanced diet to promote hea