Any advice to recover from thumb pain?

Just curious if anyone that been through solely thumb pain, how did you guys recover or what steps you’re taking to recover. I really don’t know too much with recovery process when it comes to the thumb so any insight I would help a lot. This is coming from years of phone use and controller playing