I would like to medicine but pharmacy is my back up and I would like to go to that university a lot so I thought I would I apply for both courses there hoping there would be a chance
It's not that you can't, it's just that writing a personal statement which caters to both is extremely difficult. If you're desperate for uni I'd suggest looking into biomed courses - they're used to getting medical applications and you can use biomed to either convert into medicine or apply as a graduate (although I'd advise checking with the uni for what you can do with biomed at a specific uni!)