What the above posters said.
Muscle strains (same thing as a pull) take a while to heal up. Depending on the severity, and it doesn’t sound like it’s a slight strain by your description, it can take several weeks or longer. If you don’t fully rest it, you’ll make it worse. Going back too soon will have you going back to square one.
What happens when you “pull” a muscle is the muscle cells/fibers pull apart. They need time to stick together again, scar over, and heal up. The more you use the muscle, the more it pulls apart.
In the acute (beginning phase), I don’t suggest stretching at all. The more you stretch, the more you’re pulling the fibers. It seems really counterintuitive because your brain is telling you it’s really tight and a good stretch will loosen it up. IMO it’s one of the few times your body is giving your brain false information.
I worked as a full-time NCAA Div 1 athletic trainer (sports med, not personal trainer) for about 15 years, and still do at other levels on and off. I treated groin strains just like quad and hamstring strains. A lot of my colleagues were aggressive with strength training them, but I honestly never saw much benefit to that during the actual injury phase. They weren’t getting guys back on the field any quicker by doing that. I always did moderate mobility exercises, therapeutic modalities such as ultrasound, and rest. Rest was the biggest factor, having my athletes do nothing beyond regular day to day activity.
If it’s keeping you up at night, definitely see a physician and physical therapist. You’re beyond simply taking a week or two off and going back into it. Even if it feels better within a few days, if you get back on the mat, you’ll just re-aggravate it and have to start over again. Trust me, I’ve seen it countless times; guy who just want to get back out there and play learned the hard way more times than I can count.