The process that prevents and stops bleeding, or hemorrhage.