Google Circle of Fifths, understand it, and it'll create a good foundation to start on. Also learn the different musical modes and it will make your songwriting easier and more pleasing to the ear. Although, as stated above, realize that there is no right or wrong way of playing various chord progressions in a song, to me the transitions between chord progressions are key to making the different parts in the tracks cohesive and a great song as a whole.