Huerta first joined Guadalajara's youth academy in 2015.[3] Huerta made his Liga MX debut on 10 November 2018 against León, coming on as a substitute in 1–0 win.[4]
On 27 July Mazatlán played their first official match, in which they were defeated against Club Puebla with a score of 1–4: in which he scored the club's first official goal.[9] On 11 December it was announced he would be returning to play with Guadalajara for the Guard1anes 2021 tournament.[10]
UNAM
After failing to secure a starting spot at Guadalajara, Huerta made a transfer request, and on 1 June 2022, he joined UNAM on a permanent transfer.[11]
Huerta made his senior debut for Mexico on 9 September 2023, in a friendly match against Australia, entering in the second half for Alexis Vega at the 60th minute and later scoring the 2–2 equalizer towards the end of the match in the 83rd minute.[15]