How can I turn DC to AC so I can run it through a transformer.?

I need to take a 2 DC volt system that may have heavy amperage, 3 to 5 to possibly10 amps, and I need to turn the DC voltage into AC to run it through a transformer to get it to 12 volts and possible 120 volts. How could this best be done, please and thank you.
3 answers 3