Well, you could try to make the metal smooth, but that's unlikely to give you a perfect result unless you are experienced. I would recommend smoothing it out the best you can first. Then, make sure all the problem areas are low spots (eliminate all high points). Finally, use bondo and some sanding to make a nice smooth surface for priming/painting.
Good luck!