The practical halakhic code for conversion discusses how to accept a convert and the duties of the community toward him. It is the standard codified anchor for laws and etiquette surrounding the ger.
כשבא להתגייר אומרים לו מה ראית שבאת להתגייר אי אתה יודע שישראל בזמן הזה דחופים סחופים (פי' אבודים וסחופים מן מדוע נסחף אביריך) ומטורפים ויסורים באים עליהם אם אמר יודע אני ואיני כדאי להתחבר עמהם מקבלין אותו מיד ומודיעים אותו עיקרי הדת שהוא יחוד ה' ואיסור עבודת כוכבים ומאריכין עמו בדבר זה ומודיעים אותו מקצת מצות קלות ומקצת מצות חמורות ומודיעים אותו מקצת עונשין של מצות שאומרים לו קודם שבאת למדה זו אכלת חלב אי אתה ענוש כרת חללת שבת אי אתה חייב סקילה ועכשיו אכלת חלב אתה ענוש כרת חללת שבת אתה חייב סקילה ואין מרבין עליו ואין מדקדקין עליו וכשם שמודיעים אותו ענשן של מצות כך מודיעים אותו שכרן של מצות ומודיעים אותו שבעשיית מצות אלו יזכה לחיי העוה"ב ושאין שום צדיק גמור אלא בעל החכמה שעושה מצות אלו ויודעם ואומרים לו הוי יודע שהעולם הבא אינו צפון אלא לצדיקים והם ישראל וזה שתראה ישראל בצער בעולם הזה טובה היא צפונה להם שאינם יכולים לקבל רוב טובה בעוה"ז כעובדי כוכבים שמא ירום לבם ויתעו ויפסידו שכר עולם הבא ואין הקב"ה מביא עליהם רוב פורענות כדי שלא יאבדו אלא כל העובדי כוכבים כלים והם עומדים ומאריכין בדבר זה כדי לחבבן אם קבל מלין אותו מיד וממתינים לו עד שיתרפא רפואה שלימה ואח"כ מטבילין אותו טבילה הוגנת בלא חציצה (וי"א שיגלח שערותיו ויטול צפרני ידיו ורגליו קודם טבילה) (טור ורי"ף ורא"ש) ושלשה (תלמידי חכמים) (ג"ז טור) עומדים על גביו ומודיעים אותו מקצת מצות קלות ומקצת מצות חמורות פעם שניה והוא עומד במים ואם היתה אשה נשים מושיבות אותה במים עד צוארה והדיינים מבחוץ ומודיעין אותה מקצת מצות קלות וחמורות והיא יושבת במים ואח"כ טובלת בפניהם והם מחזירים פניהם ויוצאין כדי שלא יראו אותה כשתעלה מהמים ויברך על הטבילה אחר שיעלה מן המים וכיון שטבל הרי הוא כישראל שאם חזר לסורו הרי הוא כישראל מומר שאם קדש קדושיו קדושין: כשיבא הגר להתגייר בודקים אחריו שמא בגלל ממון שיטול או בשביל שררה שיזכה לה או מפני הפחד בא ליכנס לדת ואם איש הוא בודקין אחריו שמא עיניו נתן באשה יהודית ואם אשה היא בודקין אחריה שמא עיניה נתנה בבחורי ישראל ואם לא נמצאת להם עילה מודיעים להם כובד עול התורה וטורח שיש בעשייתה על עמי הארצות כדי שיפרשו אם קבלו ולא פירשו וראו אותם שחזרו מאהבה מקבלים אותם ואם לא בדקו אחריו או שלא הודיעוהו שכר המצות ועונשן ומל וטבל בפני ג' הדיוטות ה"ז גר אפי' נודע שבשביל דבר הוא מתגייר הואיל ומל וטבל יצא מכלל העובדי כוכבים וחוששים לו עד שתתברר צדקתו ואפילו חזר ועבד אלילים הרי הוא כישראל מומר שקידושיו קידושין. (ישראל מומר שעשה תשובה א"צ לטבול רק מדרבנן יש לו לטבול ולקבל עליו דברי חבירות בפני ג') (נ"י פ' החולץ) :
When a person comes to convert, say to him, "What did you see that motivated you to come to convert? If you know that Israel, in this time, that the Jewish people are oppressed, eroded, (The words are from "Why is your strong one overthrown?" -Jer. 46:15) insane, and suffering. If he says, I know this and I will still become a part of your people, receive him immediately and tell him the principles of the faith, that God is one and idol worship is forbidden, and tell him a lot about this, and teach him a few of the lighter mitzvot and a few of the more stringent mitzvot, and teach him about some of the punishments of the mitzvot, as it says, "Before you came to learn this, if you ate the forbidden fat, you would not be punished with excommunication, you transgressed Shabbat and you were not punished with stoning; but now, if you eat forbidden food, you will be punished with excommunication; and if you transgress Shabbat you will be punished with stoning." Don't say too much about this, and don't get too specific either. And when you teach him about the punishment of the mitzvot, also teach him about the rewards of the mitzvot and teach him that in the doing of certain mitzvot that will merit life in the world to come. There isn't a complete righteous person, rather a master of wisdom, that does the mitzvot and understands them. And say to him: "You should know that the world to come is hidden from the righteous, who are Israel. As for what you see that Israel is in distress in this world, because it is not granted them to receive the abundance of good things in this world like other peoples, lest their hearts should be indulged loftily and they should go astray and squander the reward of the world to come. But God didn't bring to them too much destruction, so that they would not observe. Rather, all of the idolators stand. And you explicate this idea so that he feels the dearness of it. If he receives this, circumcise him immediately and wait until he is fully healed, and afterwards, immerse him without a barrier. (Some say that you cut or shave his hair and you cut his fingernails and his toenails before immersion.) And three learned scholars stand at his back and teach him some of the light mitzvot and some of the more stringent mitzvot a second time, and he stands in the water. And if it is a woman, women sit her in the water up to her neck and the beit din is outside and they teach her some of the easy mitzvot and some of the more stringent mitzvot and she sits in the water and afterwards, she immerses before them and they turn their faces and leave in order that they do not see her when she is getting out of the water, and they bless the immersion after she comes out of the water. And once he has immersed, it is as if he is a Jew, but if he goes astray, he is like an apostate Jew - he is still sanctified, and his marriage is sanctified. When a [potential] convert comes to convert check after him, perhaps it is because of money he took, or because of power she will gain, or because of fear that [the pontential convert] is coming to enter the religion. And if he is a man, check after him perhaps he placed his eyes on a Jewish woman. And if she is a woman, check after her perhaps she placed her eyes on the single men of Israel. And if you do not find to them [such] a cause, inform them of the weight of the yoke of the Torah, and the difficulty of fulfilling it on the nations of the world in order that [the potential converts] leave. If they accept and do not leave, and you see them that they are returning out of love, accept them. And if you did not check after him or you did not inform him of the rewards of the commandments and their punishments, and he was circumcised and immersed before three ordinary people, this is a convert. Even if you are informed that it is because of some thing (like those discussed above) that he converted, since he was circumcised and immersed he has left the category of Idol Worshippers (i.e. Non-Jews), and we are worried for him until his righteousness is clarified. And even if he returns and serves Idols, he is like an apostate Israelite that his marriages are marriages. [Rama]: An apostate Israelite that repents does not need to immerse. Just that rabbinically he should immerse and accept words of joining (strict observance) before three.