"Say, by taking a beta blocker along with the steroid? "
I think you just have to try and experiment. That sounds like good idea.
This is a response from Grok AI:
Managing the Risk of Corticosteroid-Induced Atrial Fibrillation (AFib)
Yes, while corticosteroids (like prednisone or dexamethasone) can increase the risk of AFib—especially at high doses (>7.5 mg prednisone equivalent daily) or with prolonged use—there are evidence-based strategies to mitigate this risk for patients who must continue the medication. This risk often stems from electrolyte imbalances (e.g., low potassium or magnesium), fluid retention, hypertension, or direct effects on heart rhythm. The goal is to minimize exposure, monitor closely, and address contributing factors. Always consult a healthcare provider for personalized advice, as self-adjusting medications can be dangerous.