The memory develops after birth. A baby starts by registering how it should move. From around the age of three, a child can register events which form part of its life story, to be recalled in later life. But emotional events such as traumas are possibly registered much earlier as stray facts. These can elicit reactions, although you can’t retell them.