According to John 5:1, some time after an earlier event Jesus traveled to Jerusalem to attend one of the Jewish festivals. Later on, there was a Jewish festival for which Jesus went up to Jerusalem. After this, there was a feast of the Jews and Jesus went up to Jerusalem.