2006 Jeep Commander

2006-jeep-commander
Transmission not shifting into gear some times. Engine will race, but car doesn’t move. Only does this sporadically.