Having a job soon after completing course boost one's confidence and even attitude.
Most organisations especially in IT sector want freshers. The more you are moving from the date of passing, the less you are preferred for such jobs.
Now that you have come out completing course, you can apply for the off-campus selections. You better take a job in a small organisation in your core filed or an IT job if it comes first. But do not remain unemployed and not doing a course.
If you get a suitable IT job like your peers, then decide whether you want to continue in IT sector. If continuing, take courses related to your job in IT. If not interested to continue long, keep trying for suitable jobs in the interested field , while keeping the IT job till you get a better one.
If you get a job in mechanical field, then continue there and learn and specialise in the job related area and enhance expertise and enhance your chance of getting better jobs in the same field.In any job, put sincere efforts and learn more. That will benefit you in future in some way.