We saw AN otter.
You use ‘an’ when the next word starts with a vowel.
For example:
With vowel - There was AN eagle.
Not a vowel - There was A bird.