When the price of a substitute increases, the demand for the other good increases. When the price of a complement increases, the demand for the other good decreases.