If this has happened recently (today or yesterday), give it time to go. If the time is not recent, then kindly visit a physician/orthopedecian and a physiotherapist. Make sure you stretch before playing. Also, the quality of yoga is needed for it to be effective.
Next Steps
If recent, apply ice pack over the area for 10 mins or if the area is too large, sprinkle cool water over the area and let it be exposed to air for 10 mins.