Cold cut meats while pregnant

Is ham on a sandwich bad to eat while pregnant?