Canned foods a no no?

I didn't ask my doctor yet but someone told me I shouldn't  be eating canned foods. I don't eat a lot of canned foods but I wanted some campbells soup for lunch. Should I not be eating that?