Minecraft wiki entry for Beginner%27s_guide, associated text: Right-click (use) on the villagers to open the trading interface. Do not left-click (attack) on them as they become upset, raising their prices... and if an iron golem notices, you're in trouble.