Do you have a battery doorbell at the moment
or do you have a transformer doorbell at the moment, and what do you want to change to what.
Battery is DC
Transformer is AC (unless you also have a rectifier block)
So a doorbell designed for one, will not normally work on the other.How do I change door bell transformer to fuse box?
turn off the breaker. unhook the wires from the old one and put them in the exact same place on the new transformer.