Creativity is valuable when you compose music, but by listening to the music of other artists, it´s hard to not get inspired.
A nice trick is it to remember your favourite parts of other songs and then recreate them out of your head. You won´t be able to duplicate the part 1:1 and so create something new. Vary some details like the melody, harmony and rhythm and voila!