You need to be more specific. There is no such thing as a "simple transformer", that converts AC to DC. 120VAC to 12VAC is a simple transformer.
If you are attempting to use an AC adapter from a radio or other appliance...don't. It will overheat!
Buy a cheap, 2 amp, trickle charger that is made for this application.