boyfriend has ringworm

Vanilla
My boyfriend found out yesterday that he has ringworm. We spent time together the days before he found out. Will I get it? What can I do to prevent it?