You must store the raw materials in your warehouse to then produce the manufactured wares. Such as, sugar = rum, timber = planks, cotton = sail cloth, steel = cannonballs. Be sure that you don't max load the warehouse though, you must have extra space for the produced wares to be placed in the warehouse. Also, you'll have to travel 7 days of course