A proper diagnosis by a qualified professional will determine the specific procedure that is appropriate for your condition.
There are two main types of foot surgery: minimally-invasive and open.  Open foot surgery creates long incisions to access the surgery site, which damages large areas of soft tissue.  Minimally-invasive foot procedures access the surgery site thru a small cut about 1/4 inch long.  The outpatient procedure with local anesthetic is similar to a dentist visit.