If he wants to get out of jail while his trial is pending, he should consider posting bond.

If he believes that his civil rights are being violated, he can discuss the specific allegations with his lawyer.

If he won't or can't post bond, and his rights are not being violated, he can expect to stay where he is pending the disposition of his criminal charge.