I'm going to ignore a friend when he tries to flirt
What makes you want to ignore his attempts at flirting?
He's such a pathetic loser even he can't win my heart.
You shouldn't be actively ignoring someone advances on you. If you don't like someone but they are flirting with you you should think about trying to tell them that you're not interested in them.
I'm feeling good but I can still ignore him.
If you can't ignore him you should for sure talk to him about it. It is not okay to ignore someone who is just trying to be friendly towards you.