Type 1 or 2?

Hi, i was diagnosed with type 2 when i was 19/20. I started to use insulin before meals and going to sleep. Years later, one other doctor said i was type 1. I have always thought when you were born with diabetes you were type 1. After some time i started to use pills instead of insulin but last year i returned to insulin after i was hospitalized for infection and my sugar levels was 300/400 for months. Other doctors said if i lose weight my diabetes would go away. I am confused. So does anyone has any wisdom that they can send my way?