What year were medieval castles built?

Medieval castles were built in 1067.(in the time of the Normans)