Happens to nearly everyone while they're learning. After a while, you'll click in and click out without even thinking about it.
I still remember the panic and then the humiliation though. Always seems to happen at a very busy pedestrian intersection.
Don't worry, it'll get better quickly.