Practice x a million and slowly increase the distractions. Have high-value reward ready every time. Practice some more (reinforce).

Inside our house, if Sophie has something in her mouth (bone,...