Abusive boyfriend

How to leave an abusive relationship? I can’t get the courage... I hold on to the good times. Please do not be mean. I am sitting in my bath tub crying going on 3 hours.