How do you make your child stop eating her/his nails?

Idk where to post it so sorry if its the wrong group.