I had this some years ago from badminton. Tried all sorts of "cures" including braces, ultrasound, and cortisone injections. The only thing that worked in the end was rest and time.
Cut out whatever is causing it for a while and it will go away. If you really must keep riding try to change the position and pressure of your grip to something more relaxed for a while.
Good luck