Biting nails help pls


Hi, I have had an issue w biting my nails for as long as I can remember. I’m now 17 and literally can not stop and idk what to do. I’ve had ppl speculate I have OCD and extreme anxiety but I’ve never been diagnosed. Whenever I enter a situations where I get anxiety I bite them. I also bite my lips and the inside of my mouth. I just really want to stop this but don’t know how bc it’s very embarrassing.