Thumb sucking

My son just turned 5 in October and he is still sucking his thumb. It's not a constant thing so as far as I know he doesn't do it at school or anything. But when he's relaxing or when he's tired and ready for bed. How can I get him to stop?