You should call your doctor as several have stated!
You might look into this item:
https://www.amazon.com/Fender-Grip-Exerciser-Light-Tension/dp/B00SKTG2Y6?th=1
Playing guitar since 1952 is something I have loved to do. I did injure my wrist a few years ago and found the Fender Grip to be so much better than the other ones I have.
Should your doctor approve of this type of exercise, here is a suggestion:
Start with 5 reps once a day by doing the following:
Hold the exerciser in your hand with the palm facing upward and do your reps.
Rotate the wrist 90 degrees inward and do your reps.
Rotate the wrist 90 degrees inward and do your reps.
Rotate the wrist 90 degrees inward (your palm will now be facing toward the floor) and do your reps.
Then remove the hand exerciser and gently shake the fingers by slightly extending the hand in front of you. Shake the fingers for 20 reps.
The ultimate goal is to build up to 25 reps in all four positions. Take your time. Add one rep every 2 or 3 days until you achieve the goal of 25.
If at any time you experience pain - stop! The body will tell you when you have done something wrong.
It is hard to find a good doctor or physical therapist, speaking from experience.
Tom