Évite les ennuis - tiens toi à l'écart des ennuis / des problèmes
The french would say : évite les problèmes.
"Trouble" in French is "problème" or "difficulté".
'trouble' is translated 'problème', 'histoire', 'trouble' in French depending of the context.
If the person is trying to stay out of trouble, try telling them and involving them in activities that will keep him/her distracted from trouble.
Trouble is 'des ennuis' or 'des problèmes' in French. Ex: Looking for trouble (tu cherche les ennuis) - Is there some trouble ? (il y a un problème ?)
where you stay = où restes tu (in french)
'to cause trouble' is 'perturber' in French. A troublemaker is spelled 'un perturbateur, une perturbatrice'.
Stay out of trouble.
Stay out of trouble , resist the temptation of doing something bad fool
Séjour
get a job and stay out of trouble
Sometimes to spare your feelings, or to stay out of trouble.