On Monday, I totally didn't feel like working out but I did and I was glad I did. One thing you can do is tell yourself that you'll give yourself 5 minutes. If after 5 minutes, you want to quit, then quit. If you feel ok, then give yourself 10 minutes, etc.
You can't out-exercise poor eating habits.