From my experience, it’s best to begin with gentle exercises and try to avoid anything that causes sharp pain, you know like the kind that makes you pause right away. Execercises you can try:
Butterfly stretch: good for loosening the inner thigh muscles, calmly.
Seated groin stretch: helps with flexibility, without putting too much pressure on the area.
Adductor squeezes: place a pillow or a soft ball between your knees and then gently squeeze; it helps strengthen those groin muscles.
Side-lying leg raises: useful for rebuilding strength in the hips and inner thighs over time.
Glute bridges: these build up the hips and glutes, which also support the groin area, kinda like a steady base.
Standing side leg swings: only try these once the pain is lower and you can move pretty comfortably; otherwise skip.
Just take it slow and don’t push through pain. And if the injury is pretty painful, you’re struggling to walk , or it’s not improving after a couple weeks , I’d really suggest seeing a doctor or a physiotherapist. They can guide you based on how strained it actually is.