It is not safe to use alcohol while taking Ritalin as alcohol can change the way the drug works.

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