I would recommend doing band work and calisthenics and also highly recommend analyzing your kinetic chain and form in any activity you do and figure out how to reduce shoulder arm and wrist for any force generation in sports such as tennis, golf, throwing etc.
After playing college tennis and developing bad shoulder issues with MRI indicating that surgery would be recommended. Two years prior my high school friend had had the same surgery and ultimately developed a opioid dependence during the crises and subsequently died of an overdose after 18 months of spiraling.
I ultimately was able to attribute the onset of flare ups to weeks where I was hitting a lot of serves and at first simply instituted a “pitch count” and later studied my form and discovered that I was not loading as much as I should have been from the base of my kinetic chain and a lot of that load was being put on my shoulder.
About 12 years later and I’ve recently switched to pickleball (no over head serve) and jokingly refer to myself as a tennis refugee.