To enchant items at an enchanting table in Minecraft, you first need to gain experience by mining, fighting mobs, and completing other activities. Once you've leveled up, place your item in the table along with lapis lazuli, then choose from the available enchantment options. Higher levels and bookshelves around the table unlock stronger enchantments.