Just like an F in high school did not stop you from graduating, an arrest is not going to stop you from your future endeavors, it will just put them on a momentary pause.
The best way to face an arrest and trial is to simply be prepared. For the next steps. For possible outcomes. For unexpected turns in events. For backlash. For a sharp increase in maturity and responsibility. For financial rearrangements. And so much more.
Take on this preparedness with your chin held high and a mindset ready to tackle anything and everything. There is no room for embarrassment any longer. Have a positive, hopeful attitude. Keep supportive loved ones close and take their help when they offer it.
The stronger a person can be throughout this tough situation, the faster this whole thing will blow over. Soon enough, this person is back on track to achieve their future endeavors.