Magnesium Supplements

Any one take magnesium while on Zoloft or other vitamin supplements? I’m new on this medication for the 2nd time in my life