You're probably fine, but I'd still visit your doctor if you have insurance. It's not at all uncommon to have digestive issues following a visit to South/Central American countries.
Though, if your stool is black, that can be a sign of blood, which would be a reason to head into your doctor. Though, it may not be black, it may just be very dark.
where in Mexico did you go? For how long?