My toddler keeps swearing!

Any suggestions to help my 3yr from swearing? I believe he’s picked it up from the baby sitter but he keeps saying the F word over and over. We ignore him when he says it hoping he’ll just stop if he doesn’t get a reaction. He will even get in my face and say it hoping for a reaction smh. Any suggestions?