Carpal tunnel syndrome is due to compression of nerve at wrist.so it will lead to pain numbness, weakness and loss of muscle mass in the lateral part of the hand..
Mainly it has to be worked up for the reasons for it..you have to check your
thyroid levels and try to get a wrist splint and wear it till pain subsides..medications also will help along with that..If pain not subsiding with all above said measures you may require a small surgery at wrist call carpal tunnel release..
Regards