Unfortunately, there are no quick cheap easy fixes for this condition. It sounds as if you have low transmission line pressure from a worn out front pump or internal leakage due to old hardened internal seals. If the vehicle was driiven with the transmission slipping, it most likely has damage to teh clutches also. If you check your fluid, and it is dark in color or has any kind of smell to it, then the transmission is overheating and has an internal failure.
A technician can attach a pressure gauge to verious ports on the transmission to determine what generally is going on inside, but the repair is the same in any case; the transmission will need to be removed and rebuilt, installing new seals, clutches, bands, and whatever other internal components are damaged.
There are some transmission seal conditioner additives on the market that soften up rubber parts, but in this case I really don't think they will do any good because once the transmission gets to the point of not moving there are too many other worn internal parts.
If this answers your question, please click on my accept button; thanks!