Who was the first person to think that we're not alone in the universe? When did it happen? Did they just see a flying saucer and come up with that or something?
I can't answer your question to who was the first, but there is a really good answer here from u/J-Force which talks about a literary work in the second century ACE which features aliens.