Nexium???

Jessica
So I have posted about how bad my heartburn is and I went to the dr this morning and forgot to ask about what I can take!!!! I sent my husband out for some Prevacid or Pepcid and he came back with nexium and Prilosec. Can I take those? Anyone else take them during pregnancy?