Here is a way to make a simple headboard.
Step 1: Take an old door or panel(s) of wood. Remove all hardware.
Step 2: Staple, nail or tack foam and fabric around the entire door or panel.
Step 3: Attach hanging hardware.
Step 4: Hang, as desired, on the wall behind the bed.
Similar video instruction
Do it in panels
Do it with curves