On 3 September 2013, after finishing his formation, he agreed to a one-year loan deal at Segunda División B side San Fernando CD.
[2] Ernesto made his senior debut on 4 September 2013, playing the last three minutes in a 1–0 home win against Real Balompédica Linense, for the season's Copa del Rey.
He scored his first senior goal on 30 November, netting the opener in a 1–3 loss at FC Cartagena, and featured regularly during the campaign as his team suffered relegation.
Ernesto returned to Málaga in July 2014, being assigned to the reserves in Tercera División,[3] but moved to fellow league team Arroyo CP in the following year.
[4] On 9 July 2017, Ernesto moved to another reserve team, Real Oviedo Vetusta in the fourth tier,[5] helping in the club's promotion to the third division in his first campaign.