(Automatic transmission) RPMs fluctuate after Starting than it stalls in a gear on 1997 Nissan Pathfinder

Stalls out completely in any gear I throw it in and has trouble stay on in park or neutral? It turns on every time I try, if that matters, idk just thought it might be helpful to mention... Thanks again (= Ree

Asked by for the 1997 Nissan Pathfinder