Proverbs 27:5-6 says " better is open rebuke than hidden love. Faithful are the wounds of a friend, profuse are the kisses of an enemy".
When was the last time a friend cared enough about you to confront wrong behavior on your part? Or do you have friends who care enough to do the confronting? If all your friends do is complement and praise you, how deep a friendship do you really have?
Confronting in love is not easy. The heart needs to be examined carefully to make sure the friend is not trying to take advantage of you, or considers himself superior. But instead he/she humbly cares enough to see that you are about a make a train wreck of your life if you do not stop a behavior.
As an example, do you consider flirting with someone harmless entertainment? If you are married or in serious relationship it is not! It is a pathway to deep trouble for that relationship you are in. Your friend should call you out and say, "What are you doing?"
So take the rebuke the right way! Don't turn on that friend and tell them to get lost. Listen, evaluate, and see if truth resides in what your friend says. Stay away from the "kisses" of an enemy, especially if they are good looking and want to use you selfishly. Let your friend "get in your face"; do the right thing and listen.