If your tooth isn't super rotten a magnetic pulser might kill off the infection and save the tooth. If you get a root canal the pulser can keep the root canal from harboring pathogens.
If not. I would get a root canal from a good dentist. If you pull the tooth the other teeth will move into the space. What will you replace the tooth with?