How long did you co- sleep?

How long did yall co-sleep for? I have always done it but wondering when is a child too “old”