To love others, you must 1st learn to love yourself. Loving yourself is accepting you for who you are. It involves accepting your existence on earth and the fact that you have a purpose here to fulfill.
It involves learning to appreciate your life. It involves learning to appreciate that situations may be temporary or permanent. It involves learning to be at peace with yourself at all times. Even in times where you might make the odd error.
Above all, it involves loving God and believing in His word and power. Believing that He’s the owner of this world we live in, and that through trials and tribulation, we must seek Him for comfort.
Only when we have this, may we learn to love others.