A painful tongue is typically not dangerous and will go away on its own within two weeks. Meanwhile, you might attempt a few home treatments to alleviate pain for example using a cold compress.