Throwing stones in a glass house?

Tonight, someone said to me,
“Don’t be worried about throwing stones in a glass house”,

Can anyone tell me what is mean’t by this……. I have an idea but would welcome your thoughts?