What do I do?

My husband is a great guy but has a real potty mouth. He loves to name call and I hate it. I tell him I dont like it and give the silent treatment..he says "fine by me". I threaten to leave, he says im being a big baby and go ahead. What can I do? Im not leaving so I need advice on how to handle it.