How old was Aaron Carter when he wrote you want candy?

You mean "I Want Candy" and he didn't write it. I don't know who did but it wasn't him.

He was 12 years old when I Want Candy came out.