I before E, except after C, or when sounded as A, as in NEIGHBOR and WEIGH, except in WEIRD, and PROTEIN, and EITHER, and NEITHER, and ...

See also the badly written links I before E, except after C, and in neighbor, weight, and protein and 'I' before 'E' except after 'C' and when sounding like 'A' and 'I' before 'E' execpt after 'C' and in neighbor, weight, and pr (in order of inverse badness).

By the way, don't be lame and complain that the spelling is bad design and it's better that way (wierd, or cieling, or other atrocities). Either stick with what's right, or go al the way and spel the way Dewey wuld want us al to spel.