You need 3 wooden planks to craft a bed. It's a simple process that involves arranging the wooden planks in a horizontal line in the bottom row of the crafting grid.