1. Check the brake lights. If the brake lights are not working, the shift interlock solenoid may not be getting power.
2. Check the shift linkage. The shift linkage may be damaged, preventing the transmission from shifting out of Park.
3. Check the brake pedal. The brake pedal may be depressed, preventing the shift interlock solenoid from engaging.
4. Check the transmission fluid level. Low transmission fluid can cause the transmission to shift hard or not at all.
5. If you're still having trouble shifting after trying these fixes, you might want to take your vehicle to a mechanic to have it diagnosed and repaired.