There are several techniques to train your dog to sit. Catch your dog sitting alone, treat him, and say “yes”. After a few times, say “sit” when your dog sits and reward him. After a few practise sessions, your dog should associate “sit” with sitting.