Time your jumps correctly. Release it on time, just before you hit the fence, then quickly tap again to get ready for the next obstacle.
Positioning
Remain in the middle lane. This is the best position to start at to avoid obstacles at the extreme right or left of the screen. Tap the dog and not the area above or below it. Moving your finger places the dog exactly to the same position.