How do is stop biting my nails

Hi

I want to grow my nails out while I’m in quarantine, but with school I get easily stressed....and then start to bite my nails. Any way to get rid of this bad habit?

Thanks in advance 😊