Your transmission broke.
If all your gears aren’t working most likely the sunshell broke, and any number of other parts are wore out, about to break, or already broke.
Just replacing a few parts will almost certainly be a very short, short term solution.
Find a rebuilder, pull the trans...