I don't have to imagine.  I was asked to be the wingman in this kind of situation.  Take my advice when I say that's when you should turn to your friend and tell them "go fuck yourself".  Trust me.  That is always the correct response in that situation.  I am not even joking.