I give them a wash when I first buy them, then never again unless they actually get something on them, which is very infrequent.

This question doesn’t apply to jeans you’re wearing to work in, and expect to get dirty.