Being afraid is likely causing to lose confidence. Hook the bike up to a trainer and get comfortable with clipping and unclipping. Then practice in an open area like a parking lot. Also make sure the tension adjustment isn't too tight on the pedals. It will become second nature at some point. Just develop the confidence and you'll soon relax and enjoy it.