This is something you learn to do.
An article by Lady J at Ladywanderlust titled, "Surprising Sex Issue That Shouldn't Exist." I particularly like her statement about orgasm, "This is something you learn to do, not expect to surprisingly happen." It's true.