I need some advice

I don’t know what to do, my boyfriend got arrested last night and he’ll be released Monday but he’s facing a lot of charges. He’s not a bad person, everyone who knows him knows he’s a good person he just makes poor decisions sometimes (as we all do). I love him more than anything but idk if I should stay with him. I went through this a few times before and I never left the person that I cared about‘s side. It’s just really stressful and I don’t know what to do. I love him more than life itself and he feels the same about me... I just idk what to do.