My arduino gets hot when us a 12 volt adapter

What do I have to do in order to connect the arduino to a battery?