How to find yourself after you lost who you were

I like others who fall completely in love stopped doing things for myself and became super attached to my boyfriend. I lost friends, I would devote all my free time to hang7ng out with him, I feel like I lost my identity if that makes sense. I really want and need to be my own person again because it’s been years where I throw myself into being only about my partner and I abandoned who I was. Any advice on how to become your own person again?