Once you collect enough yarn in the levels you need to go into the shop. At the top of the shop, there are some shady looking cats and if you give them 5 yarn they will give you a weapon. once you have all the weapons you just need to equip them all 1 by 1 and use them.