Injuries happen and the more active you are it is highly probable. If, you have a repeated injury, the possibility is there that you did not recover fully from the first one.
So, this time around the first goal is to focus on getting 100 percent better. Visit your PT and /or get right back on your rehab exercises, yes, you have to do your homework.
Another shift in mindset or perspective is to change the way you think about injuries.
What I mean by that is by thinking about the injury as more of a challenge that will make you stronger rather than a problem or a nuisance, mindset shift.
I am speaking from personal experience. changing my perspective has helped me deal with an injury.

In order to get better and stronger focusing on your recovery by making a plan is key. The longer you “sit still” the harder it is to recover. Start small, this takes diligence and consistent effort.
Remember, the goal is to get better, and moving with out pain is the focus. Be patient with my body and know that your body has your back but, sometimes it just needs a little extra TLC.
Being patient will help you to recover fully.
You come back stronger, in mind and body, knowing that you will be able to handle any injuries that may happen in future, whether its by an accident or whatever life throws at you.
Stick to the plan, there are no short cuts.
I am saying it again, with a shift in mindset/perspective the positive side of an injury, yes, I said a positive side, is to look at it as an opportunity to improve while keeping the goal in mind to getting a hundred percent better.
Stay open and pay attention to subtle shifts.
As always rooting for you.
Be well.
PS. Please let me know what you would like see/read more of.
Your coach.