What kind of medicine to take for calf swelling and pain depends on what kind of etiology, such as trauma, you can take non-steroidal anti-inflammatory analgesic drugs such as celecoxib, etc.; if it is caused by thrombosis, you need to take anticoagulant drugs such as rivaroxaban and so on. 1. caused by trauma: non-steroidal anti-inflammatory and analgesic drugs such as celecoxib and diclofenac sodium, etc., as well as dehydrating and swelling drugs such as dioxymethamphetamine. 2. Lower extremity venous thrombosis: oral anticoagulant drugs such as rivaroxaban and apixaban are needed. 3. Infection: oral anti-infection drugs such as cephalosporin antibiotics should be taken. 4. Diabetic lesions and other medical diseases: you need to treat the medical diseases and take appropriate oral medications such as hypoglycemic drugs. The cause of calf swelling and pain is more complex, need to consult a doctor, take medication need to target the cause of the disease, in order to better treatment.