How others behave to you is to a large extent influenced by how you yourself behave. People prefer being in the company of positive, motivational and inspiring people who spread positive energy and a good mood around them. Learn to be this kind of person, and dealing with other people will become much easier for you.