iDeco or NISA first?

Hi, thanks to this sub I was able to max out my emergency fund above my target and I have now almost a year of savings.

I’m a freelancer, I experienced Covid a freelancer without an emergency fund. 0/10, never again.

So, I feel late to the party as I’m 36, but I’d like to start to invest. there are a bunch of option out there, and though buying a house for my family or to rent is tempting, I feel investing will be more valuable over time.

I’ve read somewhere it’s better to max out the iDeco first and move on to NISA. Is it still the case and why? I’m not literate about economy and this is very confusing to me. The more I look for information, the more I get lost about where to start, which financial institution I should go for etc…

I don’t plan to naturalize, but I plan to stay long term here and go PR whenever possible (potentially I’ll try to apply next year).

Any advice would be welcome, thank you!

by Hellea