Can I eat lunch meat yes or no?

Sometimes I crave Jimmy johns . However my doctor told me to not eat deli meats. Is it really bad to eat them or will I be ok?