Medicine in milk

Is it ok/safe for me to put medicine in my sons bottle with milk ? He literally spits it out every time no matter what I do, I even went out and bought the pacifier where you can give medicine through it and he still does the same so I’m wondering if it’s ok to put in his bottle?? (He’s 1)