How can I eat healthy enough to repair any damage from bad diet?

Just do it. The benefits of a healthy diet and reasonable weight loss can slow down or reverse amny of the bad effects of a poor diet and obesity.