Residence permit vs work permit

Dear all,

I have residence permit this blue little book till next year. It was issued by the company where I work now but my contract finishes soon with them. What will happen  to my residence? I am planning to look for another job so I don't know what will happen till I find another job.
Does someone know?

i will equally need a resident permit

I think its still valid till next year, but not sure if u r allowed to work somewhere with ur resident permit

Thanks Rafid for replying.  Will I legally staying in turkey?

Yes, as long as u r holding that small blue book....

Refid pls what it that blue book

Sounds good. I think I can apply for another work permit through the company where I will be working after my current job...?

Thank you rafid :)