If you walk correctly, it may be a muscle, tendon or ligament strain, and the latter two recover slowly. If you are old, it is recommended to go to the sports medicine clinic of a professional hospital for examination and ask the doctor to give you a suitable rehabilitation plan.
If you want to keep exercising, you can try to walk on tiptoe-tiptoe, but pay attention to the stress and attention on the back of your calf and sole.
I wish you a speedy recovery ~ ~