Should I feel bad?

I am a single mother and I’ve been broken up with the father of my child for about a month now. In that time I reconnected with someone that has kind of always been there but I’ve never really talked to. I’m hanging out with him a lot. He does have his flaws but for the most part he’s been very nice and taking my mind off of my stresses. Last night was the first time I felt comfortable to have sex with him. It wasn’t the greatest but we have such an emotional connection that I don’t care. I know it will only get better. I’m feeling a little guilty. Like I’m a mother. Am I allowed to be having sex? It just feels weird because he’s the first person outside of the father of my child that I’ve messed around with. I feel like my priorities are messed up. I’m feeling guilty.

Edit: separated as in not living together and only communicating about our child since October “officially broken up” since dec.