The beginners dilemma

Just like this:-

flow chart.jpg