You need to put an eCollar on your cat so she cannot scratch her ears. They will get worse and get infected and need antibiotics otherwise. Perhaps you can make one from a picture on the web if your vet does not have any.
You must ask for medicine for ear mites and fleas. It sounds like your cat has both mites and fleas.
A product called Revolution is good for both ear mites and fleas and is available without prescription. I do not know where you are located, but it can be ordered online.