Some doctors are wild. Mine will give me anything. I had a sore neck, he gave me tramadol. I was having trouble sleeping after quitting drinking, he gave me quietapine antipsychotics because their side effects are drowsiness. He gave me phentermine, a weight loss drug and powerful stimulant, because I was depressed. I was still depressed, but was much faster.
You misunderstood, the beer is for your kidneys. Alcohol inhibits the adiuretic hormone, so you have to piss more often, especially if you drink beer which is around 95% water. Drinking a lot reduces the formation of kidney stones since they get flushed out before growing too big.
I wouldn't take painkillers tho, maybe Ibuprofen if it's unbearable, but stay away from Aspirin in conjunction with alcohol.