Nonsteroidal anti-inflammatory medications, ice, physical therapy, supportive taping and bracing, or orthotic devices are the common ways of treating painful progressive flatfoot. Contact your physician before taking any medication. In some cases, a surgical operation may need to be performed to repair the torn or damaged tendon and restore normal function. To prevent reinjury, orthotic devices may be recommended. In severe cases, surgery on the midfoot bones may be necessary to treat the associated flatfoot condition.