Thanks for your query.
It looks that you have traumatized the base of the thumb.
I would advise you in such a situation the following:
Visit the ER /Orthopedic Surgeon for clinical evaluation.
X-ray of the hand.
Treatment as per the findings.
In the meantime you can take Ibuprofen if it suits.
Do not try something at home.
I hope this answer helps you.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.