You need to work up to it slowly.
If you can run on some grass, if it still hurts to run on grass, do not run that day.
You can start by doing a few (3 to 5) bridges with your knees up and raising your butt, a few hip hikes and a few side leg raises every day. For say a week.
Then do twice as many of all three one day and the same few the next. The next week.
Then do 4X as many on your on days and just a few for the off. The next week.
Then you need to find 3 slightly harder exercises to add a few of each to all the workouts you are already doing for a week.
Then increase the numbers of the second 3 exercises on the hard days like you did above.
Good harder exercises might be adding a THIN weak band to the leg lifts, single legged butt bridges and wall squat holds.
The idea is to SLOWLY make the exercises harder. If you start with split squats and weighted donkey kicks, or make them too hard too fast, your injury will not be able to repair itself and the trauma of the exercises and you may never recover.