Welcome to Health Care Magic
It is not possible to predict from your description
Could it be Carpal Tunnel syndrome?
The ideal option is to see an Orthopaedician and get proper assessment / an MRI
of the joint may e necessary.
Wishing speedy recovery