Good morning,
This may be plantar fasciitis. A shortening of the tendon to the heel of the foot when you rest and it pulls on the bottom structure.
I was crippled years ago with this. It is tough to win against but can be done if these stretches that YOU MUST DO as often as you think of it......don't work. The podiatrist can inject the tendon insertion in the heel with cortisone (not a nice shot) and it will help break it.
For me the first time I got this is was from walking the track and NOT stretching before. Second time was a trigger point in the R calf muscle that we just couldn't break and I needed the heel shot to win.
The reason you are worse on rising and resting is that the muscle of the calf is spastic (unlerlying) you may not even feel it and it is pulling on the achilles tendon and it then is pulling on the heel. Some often say it is a heel spur that bring this on, but in my learning that it not so.
Warming the muscle and then standing 18" to 2 ft from the wall. Holding your hands outward and touch the wall keeping your feet to the ground gives this muscle a stretch.....you can also, while in bed, when the muscle is warm...take a towel and get it under the foot and pull it toward your face...."toes towards the nose" This also stretches the muscle and it will help in time.
Icing the heel and foot later and rolling it on a ball of some kind is a trick also.
I have learned to warm up before any big effort in exercise and also I change my shoes to a different pair everyday to use differnt muscles. A ptch to the right or left in the way the shoes are...makes a difference for me.
As a nurse who is on her feet all day. Miles put on these puppies. I am really careful. This pain is intolerable when you think of the other pains we have. When your feet hurt it takes ALL of you with it!
Good luck, I hope the P.T. Dana chimes in here with this. Maybe she can explain it better. OUCH...is all I can say! Nancy B

.