Is it safe?

I was diagnosed with a brain tumor 3 years ago and as a result of that I am taking Keppra and occasionally take Xanax. Is it safe to do this on these medications?