Some get it right off the bat some take much longer. No way of knowing where you will be. Practice in a doorway or on a trainer or on grass until you are more than sure you have it down. Then practice even more while riding and clip out both when approaching any possible stops. If you fall down take comfort in the fact that many have done so before. Get back on and sooner or later you will get it.
__________________
Sir Mark, Knight of Sufferlandria