Respect your housemate’s privacy; don’t go into their rooms when they’re not there and always knock first if the door is shut. Keep the noise down if you are inviting friends back or coming in late at night and try and give some warning if you have any visitors. 

Being respectful in shared accommodation goes a long way towards preventing conflicts.