Magnesium oxide is an extremely harsh form of magnesium. I suggest you throw it away, and if you need to supplement with magnesium use a quality form of it - citrate, malate, amino acid chelate, etc.
Also, magnesium is best absorbed on an empty stomach.
Magnesium oxide acts as a laxative in many people.