The first step to do when an automatic transmission is slipping or having trouble shifting is to check its fluid level. If fluid level is low, it will overheat and lose its capacity to move mechanical components in addition to providing insufficient lubrication. Checking the codes might help focus the issue if this is unsuccessful.