Name Calling

My partner frequently calls me names in front of the children and they have now started to do the same. He thinks this is very funny but I am really upset by it and I need it to stop. What can I do?