Hello and welcome ... My name is XXXXX XXXXX I am an experienced small animal veterinary surgeon, I will be very pleased to work with you today and will try my best to answer your question to your satisfaction.
I am so glad you asked this and did not go ahead and dose Guinness with any of those, they are very unsuitable for dogs and there have been problems related to toxicity in dogs with these drugs.
You do have one option though, aspirin, which I know you may have to go out for. On a short term home remedy aspirin would be much safer and more effective than the other over the counter human pain killers and aspirin is sometimes prescribed for dogs. A typical dose rate would be 5 mg per pound of your dog's body weight twice daily. The judgment whether to dose with aspirin is of course up to you but here is a link to a an accurate web page with all the facts you might need including contraindications : LINK
That should safely do the trick, do not use coated aspirin in the dog as they cannot dissolve the coating in their intestinal tract, buffered is best but plain aspirin is just fine as well ..
I hope that has answered your question, can I help you further ... ?