1999 Toyota Corolla - Trans issues

driving it and then no power to transmission, giving it gas and it was like I was in nuetral

Maybe needs to have the trans fluid filled or the trans rebuilt. Or the throttle cable broke, or the ignition failed. Or evil spirits… I can’t make heads or tails of your problem description and you told me nothing about your car so those are my best guesses. If you want better ones, you need a better description and more info.