I ruptured my hamstring a few months ago pretty bad while doing
martial arts.
I'd recommend you to:
Rest
Ice
Compress
Elevate
Ice it if youve done it recently, it will keep the swelling and pain down. Dont ice it for too long though
http://orthopedics.about.com/cs/spra.../iceinjury.htm
Unfortunately, strains or pulled muscles can take a while to heal, so Id recommend you not do any exercise and let the leg rest. If this has happened over a 72
hour period, try and do some very light massage, and use some warm rub cream so it increases the blood flow to the sprain and helps the healing process.
Ice beginning for swelling and keeping the area from not swelling even more, heat for healing.
Here's something I think that can help you.
http://orthopedics.about.com/cs/spra.../hamstring.htm
Hope this Helps

: