If it's a medically necessary surgery, you don't have the luxury of waiting for Mars to go direct. That option is only for elective surgeries.
Transits don't cause problems, just reflect them. Current transits reflect your current medical problem, and reflect you having surgery for it.