Compost can harber bacteria and spores that mean you need to be careful with it and if in doubt wear gloves. You should avoid breathing in compost, ingesting it or exposing open wounds to it. People with weakened immune systems are advised to wear gloves. If you have open wounds on your hands, either wear gloves or use a sticking plaster to protect the wound. Always wash your hands thoroughly after handling compost and before touching your face or food.