Hello
It depends on from which college you are . As there are some colleges which provides facility of branch changing in the 2nd year that in 3rd semester. So please check whether your college has facility of branch change or not . If yes then your can join in mechanical branch
Hope this helps
Thank you