W-2 & 1099 together?

This year I worked as a self-employed contractor until I got hired as a salary employee in Sept.

As a self-employed man,  I contributed 25% of my income to SEP IRA. I also contributed $8,000 to ROTH IRA early this year because I'm over 60.  I think I'll receive both 1099 (as a contractor), and W-2 (as a salary employee) next January. In my case, should I file tax returns both as a contractor and an employee? I am confused because I've never worked both as a self-employed man and a salaried employee at the same time.