7 day code switching

I found myself to code switch every time I meet with someone from my culture. I tend to talk in my native language, And when I meet someone who does not speak my native language I tend to speak my other primary language. I also tend to code switch when im with my long lasting friends vs me getting to know someone new. The same applies when I talk in a job interview vs a fun activity with my family. But throughout everything I like to carry myself the most professional I can be.