Question: what do do when you pull a muscle?
Answer: Protect the strained muscle from further injury.
Rest the strained muscle. ... 
Ice the muscle area (20 minutes every hour while awake). ... 
Compression can be gently applied with an Ace or other elastic bandage, which can both provide support and decrease swelling. ... 
Elevate the injured area to decrease swelling.