Help

So I recently met this girl and we started talking and we started talking and she flirts with me but along with this girl I met a guy who I became friends with he's a good nice person and it just so happens that he likes her too and me being the awkward fool I am said I didn't like her so it wouldn't get awkward after he asked and I told him it's fine if he wants too try to get with her cause I don't care( I do im just a idiot) and so she's flirted with me but I haven't flirted back because it would feel wrong when my new friend is trying to get with her and so I want to get with her but my friend wants too and I don't want too loose a new friend like that because he is a very nice person so what do I do and sorry if my story is a little flustered its twelve am when im writing this