This will depend on the nationality of the person (European or not), the length of his / her stay (more or less than 3 months) and the reason (being family members, students, workers, ...). As the authorization procedure for each case is different, you should click on the following link to obtain all the information relating to the different situations:
https://www.service-public.fr/particuliers/vosdroits/N105.