I need advice !!! am I moving to fast

I was talking to a guy for over a year, but during that time, I also met someone else on my birthday. That second connection wasn’t serious—we were just friends. Two weeks ago, I had sex with the guy I had been talking to for over a year, but shortly after, he told me he needed space and started ignoring me. I was really hurt and cried a lot over it.

In that emotional state, I ended up having sex with the guy I had recently met and opened up to him about my situation. Now, after getting what he wanted, he’s distancing himself because he thinks I’ll go back to the first guy.

Idk if this is important but the guy I was talking to for a year is 28. And the other guy is 30

What should I do, and how should I feel about this?