To block someone, go to their profile page and click on the gear icon next to their name. Then select "Block."