Preventing Score from dropping below 0

I’m creating a score based gamemode and I’m curious if there’s a way to prevent the score and scoreboard from dropping below 0. Any insight on this is appreciated. Thanks!