Easiest thing to do is to take a sample of the transmission fluid. Half of a white styrofoam coffee cup is plenty. Is it black and smell burnt? Does it have evidence of coolant in it? Next pour some of it through a clean white rag, see what is filtered by the rag. If you see metal savings the trans will need to be rebuilt or replaced. If the fluid looks good, and there is no metal in it you may only need a valve body or possibly a solenid if it comes separate from the valve body.
If you need a rebuild, be VERY careful where you take it. The cheapest option may cost you alot more down the road vs getting a new or a factory rebuilt unit.