Prefer doughnut, the standard, correct, and still more-frequent spelling, and save donut, a chiefly American variant, for advertising slang and cute pastry shop names.