Clean the clams immersing them in cold salted water for 30 minutes, then rinse them under running water. In a large pan, heat the extra virgin olive oil, fry the whole garlic cloves and chilli pepper (if desired) for a few minutes, then add the clams.