Capgemini Engineering Interview Question

When we get ConcurrentModificationException and how to prevent it?