Sometimes you think you understand something at the time, but then you realize later that you didn't.
この場合、次のような言い方ができますよ。
ーSometimes you think you understand something at the time, but then you realize later that you didn't.
「そのときは理解していると思っていても、後から理解していなかったと気がつくことがある」
at the time「そのとき」
to realize later「後から気がつく」
ご参考まで!