To know a cantrip you have to add it to your spells known. When you cast a cantrip you have to expend a first level spell slot.