Potty training

Im teaching my 2 year old to go to the bathroom, When we at home i let her walk around with no bottoms, shes doing so good She dont even tell me she got to use the bathroom anymore she just go. BUTT when we are out and about she wont tell me she got to go she will use it on herself, how can i fix that?