Thanks for your query.
I wish you had given as much details as possible.
However, from the limited information available, I think that you are suffering from Writers' Cramps along with Carpel Tunnel Syndrome
, in which there is compression over the nerves which supply the hand muscles and also responsible for coordination of finer movements, such as writing.
So I suggest that you consult a Neurologist
, who will examine you to see if there is any nerves' involvement or compression; order for relevant investigation if required; and, prescribe suitable medicines.
Dr. Rakesh Karanwal