The opening at the lower end can be adjusted in size. Insert it into the headset and then gently tap the top with a rubber mallet to remove the headset cup. The bike headset cup removal tool is made of stainless steel, and there is a layer of rubber on the top.
eBay