Thanks for writing to us.
The pain and the symptoms that you are having can be due to a muscle spasm or a deep vein thrombosis
. If the swelling is persistent and the pain increases on walking then investigations are needed.
I hope this information has been both informative and helpful for you. You can consult me again directly through my profile URL http://bit.ly/Dr-Praveen-Tayal
Dr. Praveen Tayal