No continent borders Mexico. Continents are separated by oceans. Mexico is a country located in North America, and it shares land borders only with other countries:
It has coastlines on the Pacific Ocean (west) and the Gulf of Mexico / Caribbean Sea (east).
The question may confuse "continent" with "country." Mexico is part of the North American continent, along with Canada, the U.S., and Central American nations down to Panama.