I never did for IF, but thought about it. Really, thinking back to everything we went through in our IF journey, anti-depressants at an earlier stage probably would have been a good idea.
I am on zoloft now after the loss of my daughter last July. After composing several suicide notes in the shower and even figuring out how to make it look like an accident so my girls would never have to know what really happened, I decided I needed some help dealing. Zoloft was the second med I tried - the first actually made things worse, so close supervision is, imo, a must.
One thing that it did for me was allow me to see where I was failing myself, in terms of self-care. I now have the energy and interest to remember to take my vitamins, eat right, brush my teeth, etc, all of which, at the end of the day, leaves me feeling so much better. I also was able to go find some really good fish oil supplements that have also helped me tremendously.
I don't know if you have tried herbal anti-depressants, but that was where I started, because I wasn't convinced I needed anything. The herbs helped, but not enough and not consistently, so I went for the pharmeceuticals. Once I am through the anniversary of the loss, I plan to start on the herbs again. I think that combined with the fish oil may be enough now.

This is such a long, hard, unfair journey. I hope you are feeling better soon.