At the beginning of training, it’s absolutely okay to use treats to get the behaviour you want. Over time, you should wean your dog off them but continue offering praise and affection. Not every successful command should be followed by a treat, so your dog also is motivated without them. So what is the correct way to fade treats successfully?
Treats invisible to the dog: pocket, table and so on. Perform a well-learned exercise, give a command, click and only then show the food.
Reduce the value of the treat. e.g. after a poor performance, praise only verbally, normal performance give a treat, when your dog is very fast and precise give a jackpot ☺️- lots of treats.
Even when their performance is wonderful, randomise the intervals and treats you give, i.e. sometimes it is just verbal praise, sometimes a little treat, sometimes a jackpot.
The reward can also be a walk, your attention, play, permission to jump out of the car, go through the door, etc. So before letting your dog off the leash or through the door, ask them to do a few tricks and reward with real-time rewards.