When giving examples it is best to put them after your main idea or topic sentence. They can be used in the middle of supporting sentences or they can be used to start a new sentence. There is no rule for where exactly to give examples in essays. Logically they should come just after a supporting sentence.