There are different ways to do it, but the most common way is through bank transfer from a USA or Canada account to an account in Mexico, or to an account that is also in USA or Canada, depending on what the seller has set up to receive your payment.