What is the treatment available for pain in tooth while tapping?

I have pain when tapping on the tooth. Please help.