What I mean by doing the basics right is that if you're out of shape, there's no need to be guinea pig.
Eat or drink less of stuff that has too much or too quick energy i.e. fat and sugar. Avoid too much alcohol. Eat normal amounts of protein and carbohydrate with high GI and drink water, keeping you from having cravings. Exercise both anaerobically and aerobically, with warm-up and stretching. Get enough rest. Do it all regularly and measure the progress.