Are there any quick solutions for the pain of a tooth cavity/hole?

Pain in tooth. It depends on if you want to keep the tooth and what you mean by quick. A tooth can be root canaled and get a crown in one to three visits. Mostly depends on how long you are able to tolerate. Or you can have the tooth removed.
Sore tooth. Yes. See your dentist. They should have solutions to help rid you pain. The longer you wait the larger the cavity will get. It may progress to require root canal therapy, or extraction.
Solution? No. You can take otc pain meds while you are waiting to see your dentist. There is absolutely nothing that you can do on your own to restore that tooth. The sooner you call the sooner you will feel better.