Look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard.
If there are fewer than three cards in your library, you look at all of them, put one of them into your hand, and put the rest into your graveyard.