When we become a Christian, we don't become perfect overnight but we are still dead to sin in that moment. In Romans 6, Paul says that we don't intentionally sin to experience God's grace but rather we feel God's grace when we feel our previously sinful lives changing. When we died (to sin) with Christ, it means we also live with Christ, and He gives us the power to go and sin no more.