Apart from taking symptomatic treatment I will suggest you to take injection vitcofol 2cc intramuscularly every fourth days for five pricks over the buttocks through a health professional and take physiotherapy treatment till recovery
Hams Stretching- lie straight, take the leg up, pull the feet towards yourself, with a elastic tube ornormal belt. repeat 10 times, twice a day.
Sports Taping- stretch the tape from both ends and apply on the affected area
I think you have strained your groin while playing due to excessive stress on the joint. U need to stop playing and give rest until the subsides completely. Put ice on the painful area ,take analgesics orally or apply gel for pain relief. Take proper diet rich in protein and vitamins to enhance recovery. Find out if any abnormal Posture or running mechanics that lead to injury and avoid them. If you have further queries you can consult me online. Always happy to help you.