Mexico striker Javier Hernandez says he regrets making sexist comments which saw him fined and warned about his conduct.