look at the bonded substituents on the carbon. count how many bonds it has, if it has 3 bonds, its sp2 and planar. a quick easy example,
benzene: each carbon is attached to 2 other carbons and a hydrogen. 3 bonds on each carbon, so the whole thing is planar.
cyclohexane: each carbon is attached to 2 other carbons, plus 2 other hydrogens. 4 bonds = sp3 right? sp3 is not planar, but trigonal pyrimidal at each carbon.
i hope this helps 🙂