If you have it surgically removed, there are several ways your surgeon could go about it.
Depending on the angle of your bones (you'll need an x-ray), there are many different procedures to correct your foot. Some involve bone cuts and screws. You'll be swollen for several weeks, but the post-op pain does not last that long. Ask your surgeon for an estimate on when you can bear weight afterward.