Pacifier

How can I get my baby to take a pacifier? He takes it sometimes and it calms him down but sometimes he refuses

To take it what can I do to get him to take it? I only plan on using it until he’s 1