ok im have trouble writing rock/screamo/metal music

i play guitar im pretty good

the reason why im having trouble is that when i try to write my own music i dont want to use other bands riffs and stuff like that and i need help on how not to take riffs from other bands. Any tips.

sorry if im not making sense.