Deductions & credits

Hello guys, I know I am late for filing my taxes, sorry for the bad example. I have a question. Last year in October I received my H1B visa approval, I went from OPT to H1B.  That was 90 days before the end of the year. Now I need to file my taxes but I am not sure if I should do that under my F1 OPT status or under my H1B status. Have any of you faced this before? 

 

Also if I do this under OPT, should I count all the year? , Same for H1B if I have to do that?