Tub doesn't spin or agitate, makes clicking noise

The washer turns on, fills with water but then the tub does not rotate or spin. It makes a clicking noise. Is this something that we can repair or do we need a new machine?