Thanks for writing your query.
After reading your post, I would suggest that you should get yourself examined clinically and also get an X-Ray done to rule out any fracture
Give rest to your hand.
Hot fomentation and application locally of pain relieving gel will help in reducing the pain.
Also apply wrist support to give rest and support to the wrist.
If the pain is severe, you can take pain killer like Ibuprofen
one tablet twice a day after meals along with an antacid
If the problem persists, get yourself examined by an Orthopedician.
I hope this is helpful to you.