5 month old with teeth

My 5 1/2 month old daughter got two teeth at 5 months, and now breastfeeding hurts so bad!!!!! If she's falling asleep of getting tired while feeding she rubs her eyes and tilts her head down and her teeth grind against my nipple and it hurts soooo bad !!! And now even just when breastfeeding she tends to play and pull my boob out of her mouth and pop it back in but when she does she always catch her teeth on me and it hurts !!!

Ack!!!