When non-surgical treatments fail to control the pain, or when a bunion is severe, surgery may be needed. Surgery to remove and correct a bunion is called a bunionectomy.