Well, I am absolutely a beginner, in other word a self expect to hear a noob’s idea =)
so what I do is, I use EQ to polish the sound of each piece (eg. brighter kick or snare, removing boxy guitar sound or muddy bass, etc) , that’s before Compression.
I also use EQ on the final mixed song, for instance making left channel sound a bit fatter or mid-ranged than right channel, that’s after all Compressions.
Consequesntly, I use EQ mostly before the compression, depends on what I’d like to hear on final output.