Biting her thumb

Asmaa

Hi ladies

But have a 8 months baby. She suck her thumb so bath that ends up every time with biting it and cause a cut. Do u thing i ahould take her to the doctor? Today i see that it is a bit swollen.