My preference is to take a coffee enema on an empty stomach after a series cleansing enemas. I find that this is, for me, the most effective use of the coffee enema.
I have also taken a coffee enema about two hours after a meal and found that this caused some pain in my abdomen. I have not tried it since.