Eating tinned soup

Can I eat tomato soup from a tin im25weeks pregnant. But some friends have said no it’s not safe? Is this true?