My arduino gets hot when us a 12 volt adapter

For what I heard I can run the arduino up to 18V. If I want to power supply the arduino with a car battery, can I connected straigh from the battery or I need something in between?
Tx