It's a mechanical problem. Wrist splints is the initial treatment option. You can try non-steroidal antiinflammatory medications such as naproxen/ibuprofen but the effect of those is minimal if that. Steroid injections can be tried but they are falling out of favor. Carpal tunnel release appears long term cure.
Would you like to video or text chat with me?