Can you post a picture of the affected foot, top and bottom? As
@janiedoe said, soaking treatments are important to bring the infection to the surface so it can easily be squeezed out.
If you get it early enough, the soak, squeeze, and wrap method is the best and least invasive.
But ONLY if the infection doesn't crown at the surface and is deeper in the foot, it needs to be debrided (cut out with a scalpel). This is best done by a vet if you have access to one. Don't even think about debridement until you've tried the soak method.
But tend to the problem before the infection gets deeper. This is the situation our Cleo is in. She's four years old and we've been dealing with her bumblefoot since we adopted her over three years ago. Once infection is established, it's very difficult to get rid of completely.
Pictures would be helpful.