2 month old shots knot

Dar
My daughter has had this knot on her leg since she had her 2 months shits. It's a month later and it's still big. The doctor told me to massage it but it hurts her so I don't want to mess with it what should I do.