Welcome to HCM.
Based on your description that the thumb is red and sore, It seems there is an infection going on. I would suggest review by Family Physician or Surgeon and commence antibiotics to control the infection.
Meanwhile, you can take Paracetamol
as pain-relief medication.
Hope things get better soon.
Dr Tejas Shah