How do you get rid of bad habits?
So I'm in high school, and by now I shouldn't have a bad habit like this, but I bite my nails. Which is gross. I keep thinking about how bad it is to do that, but I bite my nails anyway. I do it without thinking. Any way I can get rid of this habit? Any useful information is appreciated.