Since you are suffering from severe pain
,it may mean a severe infection or a pus pocket in your thumb area which might require a surgical drainage
Do consult your doctor for the assessment of your situation.
Pending your visit to your doctor,you may start analgesic
anti inflammatory like ibuprofen
600 mg three times a day along with your antibiotics.