How to tell if you need a root canal or extraction