Replacing old ADT smoke alarms

Do I need to go through ADT to replace the old smoke alarms, or is this something I can do myself? They are wired with three wires. They die when the power goes out, so I was looking into whether there is a backup battery that needs replaced, and instead realized the entire things are probably as old as the house and should be replaced.