start off as simple as possible. If making a platformer, start by displaying one sprite. then make a background with a floor. then make the sprite 'fall'. then make the sprite stop falling when it reaches the floor. etc. don't go on to the next step until the tiny bit you're working on is done. at a certain point it will become a too-complicated mess. think 'lessons learned', and start a new one.