Thank you for your question. If it’s carpal tunnel syndrome then you definitely need surgery to decompress it because if not treated it can lead to thenar muscle atrophy and which will further complicate the problem.
Medication is for symptomatic relief and to buy time for test.
Next Steps
You have to do a NCV(Nerve study) for documentation as it’s diagnosis is more clinical.
Health Tips
You need to See a Hand Specialist.