Twig has loop-variablesloop-variables which can be accessed inside for-loops. loop.first
will return true on the first iteration.
{% for image in entry.images %}
<img src="{{ image.url }}" alt="{{ image.title }}">
{% if loop.first %}
Do stuff..
{% endif %}
{% endfor %}