I'm getting hernia surgery on thursday and have a flight home on the following day. Can that effect surgery I just had?

Unlikely. It may be uncomfortable to sit on your flight. Make sure that you're taking an anti-inflammatory. You may also want to try ice over the surgical site to decreased discomfort.
Depends. Depends on the type of surgery you are having....What are you having done?