You can try servicing the transmission first, but that may not take care of the hard shift. Inside your transmission is an accumulator that has a return spring thats softens the shift, if that has broken or has failed it will cause hard shifts and may need to be replaced.