Here is a video of a beginner shaping exercise to get your dog to learn to walk around a cone using trial and error learning.
Shaping, if you've not done any before is a great doggie mental workout - they have to do all the work, your job is to sit quietly, watch carefully and click the behaviour you want to encourage.
Slowly and surely progressively asking for a closer approximation to the end product you have in mind before you click.
Keep shaping sessions short, 4-5 mins is plenty and very mentally tiring if your dog isn't used to it. This video is unedited so you can see the whole session.
Beginner Shaping Exercise - Go Around A Cone/Object
The Ten Laws of Shaping
By Karen Pryor
Taken from Chapter 2 of Don't Shoot the Dog by Karen Pryor