i see solitude as metamorphosis. you need that time in the cocoon to really check in with yourself and the joy of that comes from how you'll gain a deeper understanding of yourself.
sometimes i spend SO much time with myself that i get SO BORED that I HAVE to venture outside of myself. when i say venture, i mean challenging myself in how i self- express which will in turn, nourish my interactions with others when i choose to seek company.
proceeding to create art, but trying new methods. going down youtube rabbit holes of things i am interested in so i can discover new references. cooking a meal without following a recipe and surprising myself. making the space i am in super cosy (candles, snacks on deck, music, blankets) going on long walks and picking up conversations with strangers through shared observations of life around us. watching music festivals/boiler rooms and dancing around my room like a mad man.
once you feel comfortable in being by yourself, you'll be more aware of what you need from your company and when you seek it, you'll be a lot more intentional about it and cherish it even more.