How does the sentence end?

Matthew went to his doctor, Randy for his incontinence so
Matthew was given some medication.