The doctor will also need to know any other medications you are taking. This is important because some medications can interact with oxycodone and cause serious health problems. Once the doctor has evaluated your medical history and determined that oxycodone is an appropriate option for you, they will write the prescription.