Worked as a temp & was eventually hired. Received both a 1099-Misc & W2. How did I file? I’m I considered self employed?

I know I owe taxes. How do I go about making a payment now and doing an extension since I’m currently struggling do my taxes. Any advice would be truly appreciated.