Thanks for query,
You might have pulling of calf muscles causing severe pain
in calf musacles as stretching of calf muscles go into spasm and causes pain.
Take some analgesic
and muscle relaxant
Do hot water fomentation.
Another possibility is that you might have thrombophlebitis
if one leg is affected.
Ok and bye.