Demagogue is the standard and preferred spelling in both American and British English. Avoid the effectively-nonexistent variant demagog (see -agogue or -logue).