What if I put my unemployment info in to w2 section

Instead of the 1099g form. I thought it was supposed to be put in as you do the w2