When is the best time to exercise?

I would rather exercise before eating, as when i come back, i can enjoy my food and it will boost my energy for the rest of the day.

On the other hand, if i eat before i have exercised, when i come back i feel tired and hungry!

But the thing about exercise and losing weight is sacrifice and will power! If everyone could do it and stick to it, there would be no fat people!

So my question is, despite how eating before or after exercising makes me feel! Which one is the best for losing more weight? Before or after eating?

No Pain, No Gain Right?