The best way to get on with people is to talk to them, respect them, etc. After you know someone really well, you can make fun of him, if he understands that is a joke. Nevertheless it is not very nice to do it to the others. Sometimes you don't like when someone does that kind of joke to you. But respect is the most important thing. You have to respect people's culture, family, etc. People are not always like you.