1) Make sure that the razor is really sharp.
2) STRETCH the skin
3) Flatten the blade a bit
That should get you a smooth neck-shave...

Now as for avoiding the razor burn, make sure you don't press the blade or scrape dry skin with the razor.