How did you manage to get rid of expectations?

Regarding having expectations of others I remind myself I can only control me. I cannot determine how anyone else will respond or behave. While a simple truth, it really is freeing to realize this and behave accordingly.