Article: If you really want to stay friends with this person, then you may need to practice speaking more guardedly. Try to avoid subjects which that they can exploit for gossip points, and give your friend very little or nothing negative to say about you. Talk about mostly happy things, and avoid mentioning worries or fears.  Avoid sharing personal information about yourself or your family. Stay neutral when you talk about other people—don’t make comments or express opinions about your peers and mutual friends. If your friend is spilling someone else’s secrets or pestering you for information, stand your ground and say you don't want to talk about it. Don't encourage them once they've started gossiping about someone else.

What is a summary?
Limit what you tell them. Change the subject if you are uncomfortable.