If the car has an aftermarket shifter it's possible the shift stops aren't adjusted correctly.
If the stops are okay or if the car has a stock shifter you're probably looking at a transmission rebuild to replace worn or damaged synchros and possibly other components (e.g. bent shift fork...)