what to do for foot pain

I can’t walk for too long or I will be in so much pain from the back of my foot