Mixing alcohol and painkillers is a direct threat to your life.
This is non-negotiable. Drinking alcohol while taking acetaminophen overloads your liver, dramatically increasing your risk of severe, irreversible liver failure. Mixing alcohol with NSAIDs like ibuprofen massively increases your risk of life-threatening stomach bleeding. There is no safe amount of alcohol to consume with these drugs.