Sucking thumb

If your baby is a thumb sucker, when did they start? I have a 3 month old and he’s trying sooo hard to suck his thumb (which I don’t mind since he doesn’t take a Paci). When do they learn to actually do it and self soothe from it? He’s teething really bad so he gets soo frustrated