Hi
If you have recently had surgery, check this quickly with your Doc, deep vein thrombosis is a possibilty after surgery, though of course it may be just a pulled muscle as you say, but don't "wait and see", get it checked out.
Let us know how you get on, Mandy.