The kernel keeps a few general counters per interface, but the network card and its driver usually keep many more. ethtool -S prints all of them.
ethtool -S eth0 | grep -iE 'err|drop|miss|crc'
The full output can run to a hundred lines or more, and the names differ per driver, so I’d filter it. Counters like rx_crc_errors point at a bad cable, a bad port or interference. rx_missed_errors or rx_no_buffer_count mean the card received packets it had no room for, which is a load problem rather than a cable problem.
A counter on its own says little, because it counts since the driver loaded. What matters is whether it is still going up. Run the command twice with a minute in between, or let watch do it:
watch -d -n 5 "ethtool -S eth0 | grep -iE 'err|drop|miss|crc'"
The -d highlights whatever changed since the last run, so a growing error count jumps out.
Not every counter means trouble. Some drivers count things like flow control frames or multicast under names that sound alarming. Look up the exact name in the documentation of your driver before you replace hardware. Virtual interfaces such as bridges often have no statistics at all, and ethtool then says the operation is not supported.
Further reading: ethtool(8) manual page