What not to talk about with friends

Sana

I'm entering high school this year and have realised that I have the tendency to tell my friends about personal problems, but I need to stop because they glossip.

So, what should I talk and not talk about when it comes to personal issues so the school and parents don't start judging me.