Question

I noticed my credit score dropped when I got a new credit card. If I cancel that credit card , will my score go back up or will It hurt my score again