Cortisone shots or inflammatory drugs often provide sufficient relief, although the relief may be only temporary. Surgery to remove the bone spur may be the best option. Metatarsal Stress Fractures-The other major cause of upper foot pain is when you have suffered a stress fracture in one of the metatarsal bones.