Fortunately the tongue heals remarkably fast.
Cold water or ice cubes can make things feel better while your tongue is healing. Stick to soft bland foods. Avoid spicey and acidic foods and liquids as well as hot liquids. If your not better in a day or two see your dentist. There are ointments available but they are very difficult to keep on your tongue.