<human>: Give me the gist of the text in a nutshell

Hi Reddit, I need some help. My nephew has been in and out of rehabs several times since he was 17. He is 23 now, just had his first child, and was clean up until last week. 

On the job, installing pools, he broke into the customers house and stole money and xanax. The neighbors saw him doing it, and called the police. 
They arrested him for Burglary, and I'm really not sure what he's up against. 

His parents have gone to hell and back to get him all the help he could ever want (or not want) but this keeps happening. He was arrested before for underage drinking and possession of marijuana, but nothing that was a felony. 

My question is, what the hell do we do. This is a felony, it will be a federal crime I assume, and he will be in jail with the types of people that really...are above the level of crime he is committing. But does that matter at this point? is there a lesson to be taught? where do you cut the cord and say he's making his own bed? He's a man now (23) But what can we do for him in terms of a legal defense?

He was caught red handed, and I'm not sure if there is anything that could keep him from doing time, not that I'd want him to be kept out of jail, but is there a way to ask that he does time somewhere less harsh?

This is all so foreign to me, that I'm not even sure if these are the right questions to ask. He was a great kid, raised in a great family, addiction is a hell of a beast.
<bot>: Nephew arrested for Burglary while installing a pool. In Jail now, and not sure what he is facing. Can anyone help with advice or even if we should help him