I'll chime in here with the answer I give people at train shows. My Dad was an electrician for 40 years. If you aren't sure and/or don't know what you are doing,
leave the transformer fixes to a pro and/or electrician. IT IS NOT worth getting electrocuted and/or burning your house down for a DIY project on an electrical transform that has 110 volts going into it.