Educate family members about proper communication. Teach children from a young age what is appropriate to talk about with family members. In family conversations, promote positive values like love, respect, and kindness. If a topic starts to veer into inappropriate territory, gently change the subject to something more positive and family - friendly.
Set clear family rules about communication. Everyone in the family should know what topics are off - limits. And also, focus on positive and healthy topics such as hobbies, achievements, and family memories. By doing so, it can effectively avoid any inappropriate topics.