You can try to feed softer food like puree, porridge or soup instead. On top of that, ensure the food is not too hot so that it doesn't aggravate the pain. Giving something chilled or cold will also help soothe their painful gums. If alls fail, you can try baby teething gel like dentinox, it will help numb their gums, and you can quickly feed them before it starts to hurt again.
Read more