I've got two Stihl's with decompression valves. Here's what I do: when cold, push in decompression valve, squeeze throttle and push switch to cold start position. Then pull on cord a few times until the engine tries to start. Then, push the decompression valve in again (it comes out when the engine tries to start), move the switch to warm start position, and give a couple of pulls. Engine should start, now as soon as it starts I give the throttle a quick squeeze and then release the throttle, engine should now be running at idle speed.
If starting warm I push in the decompression valve, put the switch in the warm start or on position, and give a couple of pulls and engine should start. Again, I give the throttle a quick squeeze and release, engine should be running at idle speed.
So, for cold starting you need to push in the decompression valve twice, although you may pull the cord 4 - 8 times. For warm starting you push in the decompression valve once and may pull the cord 2 - 4 times. Mine usually takes two or three pulls.
Make sure you understand how the chain brake works also, because if it's not engaged when you start the chain can immediately start to spin. Also, with chain brake engaged don't rev the engine above idle or you can damage the clutch.
Hope this helps.