When just driving off and accelerating,engine RPM goes up on 2005 Buick Rainier

but is not shifting properly

Asked by for the 2005 Buick Rainier
Is there a Check Engine Light on? Have the transmission fluid check and or perhaps the transmission serviced but it may be a transmission problem requiring transmission to be overhauled.