It all depends on if the witch is wicked or not
It always depends. Sometimes before, sometimes after, sometimes both.
If there is some part of the sound that you don't like, get rid of it first with EQ, or the compressor is doing extra work for no reason. If the sound is already perfect, then there is no need to EQ first.
If you compress and it sounds great, then you are all finished. If you compress and it colours the sound in a manner you don't like, you have to EQ after compression.