Yes, it's OK to take antacids with steroids. Contact a medical professional to discuss what antacids may be safe for you to take and what dosage will help you reduce the side effects of steroids, including heartburn.