Soul Searching.
In order to love someone else, you must learn how to love yourself first. In doing so, this requires some soul searching. Learning things about yourself requires spending some time alone- finding your own hobbies, likes, dislikes- which allows us to figure out who we truly are, as well as who we want to be.