Hey guys , im new to s+l

Anyways , when i write things , i tend to write riffs that sound the same as ones i previously wrote ... I try to mix things up , and try new techniques ( i write one or two great riffs , but then lose ideas / my songs start sounding alike again ) . Do you guys have the same problem ?

If yes , what do you do to mix it up ?