Pump life span

My 8 year old pump is becoming very noisy (whining) and I wonder if it can be fixed or should it be replaced?