In my experience, socks stretch while wearing, and shrink after washing. They go back and forth between the two. Different yarns act differently, but I'm speaking generally.
As a rule, socks should fit nicely straight off the needles, without blocking. Otherwise they're very likely to be too tight after washing, or too loose while wearing.