Maggots form in a wound when it has become badly infected. Maggots can sometimes (but by no means always) be rid by meticulous cleaning. However, there is no doubt that sometimes amputation is required. However, amputation
is a major step, and I would recommend that you take a second opinion.