Should I bank sperm before the operation, just in case?

What operation? Unless you are being castrated probably not.
Depends. Depends on the operation, if it is something that is likely to change your fertility, or if the operation has a high risk factor and you have a wife/partner who would like to have kids without you but using your dna.