I have learned a thing or two in my life after some painful experiences. I also regret some of my own behaviors that were learned. You know the saying, hurt people HURT PEOPLE? If no, we self aware. You may leave an impression on someone for a lifetime as a result of your own pain. In all things demonstrate a Christlike posture and do your best to be calm, and responsive rather than reactive. It will save you a decades worth of apologies and guilt ridden memories of could have, would have, and should have moments!
One of the most valuable lessons that I have learned is to not internalize how people treat me. I may just remind them of a hurtful scenario or a feeling of inadequacy that they have internally. In most cases, people love and hate you for the exact same reason! Their mistreatment of you is simply their inability to communicate that they actually desire to possess your most lovable trait. For example, if you are successful, attractive, funny, kind-hearted, driven, etc. they will love you for it and hate on you because you're successful, attractive, funny, kind-hearted, driven, etc. Don't dwell on their opinion. The people who have long lasting and meaningful relationships with you may give you constructive criticim to better you but they won't ever mistreat you.