why does my three speed automatic not shift into second or third on 1997 Toyota Tercel

the transmission will start out in first but will not change to second or third I checked the transmission fluid its dirty but not burnt.

Asked by for the 1997 Toyota Tercel
The cars a 97 the trannys probably shot or
needs band adjust or rebuild..