Honestly, don't use a knife. ESPECIALLY if you're not trained in knife combat, but even if you are. If you have a firearm, people will be scared and back down. If you carry a knife, people will be scared and attack harder. And what will you do if they get the knife from you? It's just a bad idea.