Toxoplasmosis can cause serious effects on the unborn baby if your first infection occurs during pregnancy. Perhaps those most at risk are those who have never had a cat and get a kitten just before they become pregnant. Petting cats isn't the problem, it is their poo !
You should try and;
Avoid eating raw meat and eggs
Ensure meat is properly cooked, or at least frozen to minus 20ºC prior to cooking, if it is to be done rare.
Use milk which has been pasteurised.
Avoid cat litter or, if this is not possible, ensure protective gloves are used each time.
Use gloves when gardening.
Wash vegetables thoroughly before consumption.
See here for more information