When you learn to love yourself and accept your flaws. Then that’s the only time you will learn how to love and appreciate other people better.
No one will be able to understand you better than yourself. If you won’t love yourself then you won’t be able to love other people as well. Accept your flaws and change for the better but don’t change just because of other people, do it for yourself.