If you write your song in 1 key and you need to make a melody try using the pentatonic major or minor scale depending on what you wrote initially. You can step out of scale with your pentatonic notes but use this only as short stepping stones to get to your main notes. Give Julian Bradley a google and take notes :).