I just found out my job was haram - call center

Good day!

So i am working in a call center company in line with dealing in auto and home insurance. I know that insurance-based jobs are haram in Islam and I just found out that I’m earning haram until this day.

My question is, should I leave my job now or should I find a halal one first before leaving?

Jazzakumullahu khairan