to avoid online fraud you should be careful where you shop. If it is in a shop then never let your card out of your sight otherwise someone could take your card details. If you are shopping online then make sure that you are on a secure site.
Some ways that people hack you are by skimming, which is when a criminal makes a copy of your card or bin raiders who go through bins to find bank statements where they can find out peoples card details.
Ways to Get Peoples Information: steal someones credit card, send a trojan virus.
Victim: