It's safe to use both although Maxalon may not be the best treatment if it's heartburn pain at night.