Don't eat mould-ripened soft cheese, such as brie, camembert and chevre (a type of goats' cheese) and others with a similar rind. You should also avoid soft blue-veined cheeses such as Danish blue or gorgonzola. These are made with mould and they can contain listeria, a type of bacteria that can harm your unborn baby. Although infection with listeria (listeriosis) is rare, it is important to take special precautions in pregnancy because even a mild form of the illness in a pregnant woman can lead to miscarriage, stillbirth or severe illness in a newborn baby.
You can eat hard cheeses such as cheddar, parmesan and stilton, even if they're made with unpasteurised milk. Hard cheeses don't contain as much water as soft cheeses so bacteria are less likely to grow in them. Many other types of cheese are OK to eat, but make sure they're made from pasteurised milk. This includes cottage cheese, mozzarella, feta, cream cheese, paneer, ricotta, halloumi, goats' cheese and processed cheeses such as cheese spreads.
Copied and pasted from NHS choices xx