My check engine light came on and my trac off light is flashing too, I wanted to check the code on the computer before taking it into the shop, can someone please tell me how to do it?

Thanks!