What licenses and documentation are necessary to export food and wines to EU countries?

Question posted by Francisco Jesus Rodriguez Manzano, on behalf of The Iberian Larder in RG41

I have a online shop and I would like to start exporting to EU countries. I do not know the steps I have to follow for export legally.