Teething and breastfeeding

My son will be 5 months on the 25 of this month, he started some baby food but no formula just breastfeeding. He has two bottom teeth and sometimes they hurt. He doesn’t do it on purpose but my nipples are a bit red. How did you guys get some relief? I had to switch to formula before my oldest got any teeth.