Black eye

The night of halloween me and my boyfriend were drinking. He go super drunk, Idk what came over him he just started crying expressing his love for me. When he got home he beat the crap out of me and wouldn't let me go. I have a black eye and haven't been able to leave the house since then. He says he feels so bad and feels as he needs to change his ways, I want to stay with him but I don't want  him to take it as me staying with him is him being able to get away of this, I am very hurt and depressed about what happened, what should I do?