If you want to build a headboard for a bed, choose a piece of wood, then cut out a headboard shape that’s the same width as the bed. cut out a piece of foam, polyester padding, or an egg crate mattress topper and attach it to the headboard with adhesive spray.. The last step for the headboard portion is to attach some 2