That is a good question. The Bible says that God is a just God. We know that whatever He does is right. When it comes to those who have never heard the Gospel, He will do what is right, whatever that is. But as for you, you have heard the Gospel and He will judge you according to how you respond. He is calling you to repentance, to turn from sin and come to Him.
Romans 2:11-16 speaks about those who have never heard the Law of God, and how they will be judged according to the law that is written in their hearts. The Law written in their hearts is the knowledge of right and wrong. Perhaps God's judgment of those without a proper knowledge of Him is included there where it says that they will be judged according to their own consciences that "bear witness, and their thoughts alternately accusing or else defending them." All I know is that God will do what is right, and the only way to have your sins forgiven is through Jesus.