You may not look through the discards unless you play a card that allows you to! When a deck runs out, reshuffle its discards.