yo my alternator is BROKE

if i did this would it work again?

or do i need to replace the whole thing