It doesn't matter whether you take Ritalin on an empty stomach or with food. However, it is best to be consistent with the way you take it.

https://recoverypartnernetwork.com/drug/stimulants/methylphenidate-addiction