Just got a new head unit

MP3 player an all the shit.
How do I convert tracks to MP3??
All the 'Downloaded' music I have is MP3 but all the existing CD's I have on my Hard Drive aren't....how do I cvonvert them?
Is it just a case of burning the file on a CD and they'll play on my Head unit?
Coming out of the dark ages