Read my question up top
Scotty I have a 2006 Passat 2.0t fsi automatic and I stuck a voltage tester in my cigarette lighter and a huge spark came out and when I try to start it it turns over and wants to start but can’t I got code p0864
Read my question up top
Your question belongs down in the body of your post. The "up top" section (subject line) is meant for a short description. (Title edited.)

Looks like that voltage tester might have done some major damage. That code indicates your engine computer and transmission computer are no longer on speaking terms. See diagnostic information for P0864 in the links below.
https://www.carparts.com/blog/p0864-code-tcm-communication-circuit-range-performance/
https://www.obd-codes.com/p0864
However it appears that trouble starting is not a symptom related to that code. Start with the troubleshooting information in the site FAQ and see if that helps track down the problem.
I stuck a voltage tester in my cigarette lighter and a huge spark came out
you probably had the meter in current measuring configuration (dead short). change the cigar lighter fuse.