Use the phrase "I discovered that..." to talk about learning something by noticing new details.
This is different from "realizing" something, which also means to start to think something. But "realizing" things takes more mental work than "discovering" things:
You could also use the word "noticed":
I bought these here earlier today, but when I got them home I noticed that one of them seems to have a hole in it.