Surgery may be required to remove infected tissue(s) or parasites in cases of severe parasitic infections or complications.