Take something like a bat and a box of nails to a workbench, which in practice means the maintenance area or garage. Put the items on the table and the mechanic handles the rest, turning the pair into a single combined weapon.
Combination is the core of the game's combat, so it pays to grab any melee weapon and any suitable attachment you pass. Some pairings are far better than others, and experimenting is half the fun.