Do I need to do anything to prepare for my hernia repair?

Yes. Lose weight if you are overweight. If you smoke, cut-down or better yet, quit. If you are a diabetic, make sure it is well-controlled. Ask your doctor about stopping blood thinners if you are taking any.
Call surgeon. Depends on the type of hernia repair planned. There are many types. Check with your surgeon.