Potty training

My boyfriends daughter is 9 and is still struggling with accidents (specifically number 2) Any advice from others with DS kids that have struggled with this?