Washer trips breaker in agitation or spin cycle

Washer fills, then stops and motor starts humming, then it trips my breaker. It smells like rubber burning. Should I get a new motor for it? Help please, anyone know what to do next?

So is it worth it to fix it, seeing how it is about 13 years old, or should I just buy a new washer?