Tooth infections can go away along with the tooth pain associated with the tooth infection.
But if the tooth is hurting really bad then something serious is going on and you should have a dentist check your tooth infection out because tooth infections can lead to more serious problems with your heart.
A serious enough tooth infection can lead to a heart attack or other heart problems.