Should I validate my long-stay visa or do I have to apply for a residence permit directly?

I have recently arrived in France. Should I apply for a resident permit? or Should I complete the online validation of the visa?.