Machine wash, cold (30 ?C / 86 ?F). Do not bleach or iron the socks. To reduce damage, line dry. They will last longer if you keep them out of the tumble dryer.
Counting sheep is usually for when people are trying to go to sleep. But, these socks are so vibrant and fun, they might just have the opposite effect!