It is likely you have pulled a muscle while playing.
Take painkillers, keep mobile, do gentle stretching and also apply heat packs with a hot water bottle.
The pain will gradually get better. Next time before starting to play do warm up and stretching, it will help.
Answered2017-02-28 09:30:52
Let others know if this answer was helpful