From my experience, a snake that begins rubbing to escape the enclosure rarely quits. I’d be particularly concerned that there is an edge that has actually caused a cut that is freely bleeding. Cuts or abraisions can become infected, continued rubbing can cause scar tissue and potentially permanent damage to the nose/head. As suggested by Bogertophis, you’ll want to apply some neosporin but be sure it is not the type with pain reliever.