If I bleed from biting my tongue, is the blood najis or haraam to swallow?

If the blood stays in your mouth it is paak but if it comes out then you must spit it out and wash your mouth as it is najis