How do you use FX?

So, I’m ok with reverb and delay but have not mastered them. However, I’m not sure what to do with comp and dist. Can anybody share some ideas/tips/fundamentals?