To prepare for hernia repair surgery, it's important to follow a few key steps to ensure safety and the best possible outcome. Firstly, discuss any medications you're taking with your doctor, as some may need to be stopped before surgery. Fasting is usually required, often starting at midnight before the day of the operation to prevent complications during anesthesia. Arrange for someone to drive you home after the surgery, as you won't be able to drive yourself.