The moment you pick them. To dry hot peppers like cayennes, lay them in a single layer in a very warm place until they are beyond leathery but not quite crisp. Then store them in airtight jars.