One of the cool things about the guitar is that the same note can be played in several different places on the neck. This can be pretty confusing, but once you get over that it opens up a world of possibilities. You will no longer be stuck in the first scale pattern you learned- you will be able to move around and use your ear to navigate through different positions and patterns on the neck.

But it takes time to get comfortable with this, so don't expect it to happen overnight. Just watch this video and try to become aware of this concept, so you can start working on it!