What is the secret to having a roommate

What are tips advice on living together with people whether that's being a good host or a guest and when living together how can there be a wonderful living situation where everyone is content

Looking for advice how to live together with roommates how to treat each other things people should know when living together with someone advice anyone can use whether it's a roommate, family, guest, married couples first moving in together I would like a general idea what's appropriate manners house rules how rent chores are normally and how to treat each other