Mixed up

I've recently got out of a relationship because I felt we got together too quick without knowing him well enough. 
So after I had a friend who took an interest in me and we started to act a little like a couple, we kissed and cuddled and things but he thinks I'm not over my ex so he asked if we could go back to being friends I said it was fine and we aren't awkward or anything as friends but what should I do? Should I carry on holding out for him or just focus on being friends?
P.s my other friend who is close to him said he might not be fully over his ex because they were together for so long. I'm so mixed up! Help!