To make a beacon work in Minecraft, you need to construct a pyramid made of blocks such as iron, gold, diamond, emerald, or netherite, and then place a beacon block on top, which can be activated by supplying it with a specific mineral (iron, gold, diamond, emerald, or netherite) and choosing a desired effect such as increased speed, jump boost, regeneration, resistance, or strength.