wont always go into cycle

my washer sometimes will not begin cycle after filling up and begins to smell like rubber burning i can some times play with it and get it going i think i need a new timer but wanted some input