Need help with boys!!

So in a nutshell I think I like my ex, we have been talking and talking and we are actually quite close altogether, but I think I like him again. The worst thing is that I like this other guy so much, soooooo much, and my ex has a girlfriend but I also think that my ex likes me because we have been flirting but idk what to do I'm so confused.