Depends needs exam
You could have something as simple as a muscle contusion,
but you need to be checked for possible signs of phlebitis
If there is trauma it is probably less serious. But a warm swollen calf without injury could be indicative of a clot and needs immediate treatment.