Thank you for your question - it is certainly a common problem that I see in the clinical setting, particularly amongst younger patients.
Broadly speaking, pain in the wrist can be from a structural or functional issue. When I mean "structural", this can be from the bones, joint, ligaments, tendons, nerves or skin that make up the wrist joint. If there has been an anatomical insult/injury to any of these, it can cause pain symptoms. Often, a thorough clinical examination is required to localise the pain and investigations/treatments can be targeted accordingly. In the clinic, I tend to perform MSK ultrasound examinations, particularly as the wrist is quite a superficial area.
When I refer to "functional", this might be due to a relative weakness of a certain muscle groups, it might be from catching of certain structures or compression of others around the wrist joint. Again, a thorough clinical assessment and early investigations might be helpful.
In terms of treatment, this might include rehabilitation with hand therapists, physiotherapists or guided injections - depending on what the problem might be. If it seems like a surgical approach is needed, then an opinion can also be sought to this effect.
Listening to your symptoms, and the duration, it might be more functional. Nevertheless I would recommend being assessed by a hand therapist or a Sports/MSK Physician.
Hope this helps.
BW
Dr Dinesh