Though Tom Petty and Sam Smith have resolved with well wishes... I give a quick example of how, in future, if you do realize you have accidentally been inspired by another artist, how to embrace it while easily using a little creativity to design something completely new. What I do in a few bars could take the music in an entirely different direction. To let what you know you stole be there as inspiration for further development. As McCartney once said "we're not doing anything Beethoven hasn't done before" but I say, it doesn't mean Beethoven himself couldn't create something new.