Listeria is the name of a bacteria found in soil and water and some animals, including poultry and cattle. It can be present in raw milk and foods made from raw milk. It can also live in food processing plants and contaminate a variety of processed meats.
Listeria is unlike many other germs because it can grow even in the cold temperature of the refrigerator. Listeria is killed by cooking and pasteurization.
To help prevent getting infected by it, there are certain good habits you can follow. Rinse all fruits and vegetables thoroughly under running tap water before using them. Cook meat and poultry very well when pregnant or trying to conceive.
Try to not use leftovers of food in opened packages if older than 3 days or so. In terms of soft cheeses, only eat them if made with pasteurized milk. Also, stay away from cold cuts or hotdogs unless heated to steaming hot.
You may also be interested to read about eating sushi while pregnant.