Long Answer:
Ionic: Cation is named first followed by the anion.
If it's an ionic compound with a transition metal, there are more than one possible ion. Molecular - named with the least electronegative ion first + prefixes are given to both ions to indicate number of atoms in each element.
Short Answer: Ionic compounds- Cation is named first, followed by the anion.