Typically, it may be caused by that the calf is being overloaded or the calf muscles are weak or lack endurance. How about your blood sugar levels?
You may get muscle strain or rupture. You need to rest for several weeks. If the pain gets worse and hits when you're at rest, you need to see an orthopedist for diagnosis.