I am recovering from a clostridium difficile infection. I heard recurrence happens, how likely is it? Is there a way to prevent it?

Unlikely. Most people do not relapse. Older people seem to be highest risk. A well accepted and proven preventative option does not yet exist. Many infections don't need antibiotics (sinus, bronchitis, ear) so avoiding antibiotics if you can - one option.