Thanks for posting your query
From description pain seems to be inflammatory in origin. It could be tendonitis
(inflammation )of wrist and thumb. I suggest you get it evaluated by doctor. In interim, take antiinflamatory drug like ibuprofen
to reduce pain and inflammation.
Hope this will helps you.
Dr Saurabh Gupta