I personally start with sketching melodies or my leading instrument and then once I have a sound I like, back it up with a key scale.
Look into the circle of fifths if you don't know what key scales are cause they're very important in making sure your music doesn't sound off
From there, I work...