You have two options:
1. You can face God based on your righteousness.
2. You can face God based on the righteousness of Christ, the Son of God.
I can tell you right now that if you were to pick #1, you'd be in big trouble. The Bible tells us in Romans 3:23 that, "...all have sinned, and come short of the glory of God;". If you are going to face the perfect God when you die, then your penalty will be determined by His righteousness. God says in Leviticus 11:45, "You shall therefore be holy, for I am holy." If you have ever told a lie, stolen anything, or looked at a girl (or guy) lustfully, then you are already a sinner based on what the Word of God, the Bible, says. Jesus Himself says in Matthew 5:48, "You therefore must be perfect, as your heavenly Father is perfect." As the old saying goes, nobody is perfect and we are all guilty before God.
#2 is the alternative. You see, God didn't leave us without hope to let us die in our sin, but made way for us through the sacrifice of His Son, Jesus. Made way for what? He made way for us to be friends with Him, to have peace with Him, to serve Him and to live with Him forever. John 3:16 says it very well, "For God so loved the world, that he gave his only Son, that whoever believes in him should not perish but have eternal life." This is the gospel (good news) for us. Jesus bore our sins on the cross, dying in our place. He rose again three days later, conquering death. If we believe in these things that Christ did for us, committing our lives to Him completely, then God will give us a citizenship in heaven with Him. Not only this, but we also have the power to live for Him on earth through His Holy Spirit. All we must do is believe in what Jesus Christ has done for us. Choose #2, my friend.