A man who had been drinking at a West Village bar didn’t know he had been stabbed five times until he walked into the hospital hours later, police sources said yesterday.

Nelson Rivera, 31, was outside the Gaslight Lounge on West 14th Street near Ninth Avenue in Manhattan at 3:10 a.m. Sunday when a fight broke out that culminated in the stabbing of Rivera, who then went home.

Hours later, he noticed his shirt was covered in blood.