Mixing weed and oxycodone

I fell and hurt my shoulder and the doctor prescribed me oxy. Is it ok to mix with cannabis?