Generally if they are a true heckler by wanting attention, I tend to move away from them. If they follow me then I stop performing. - This will force the people who want to see the magic to heckle the "friend" or "relation" to keep it quiet, then I can carry on with what I was performing.