Eating and no working out.

It's ok to don't working out 2-3 days and bad eating?