Said after childbirth, major surgery, surviving an accident, traveling overseas, being released from incarceration and other life-threatening situations, the Gomel Blessing has its origins in the Talmud. The blessing is said together with community. 

First, the person who has survived says: 

בָּרוּךְ אַתָּה ה’ אֱלֹהֵינוּ מֶלֶךְ הָעוֹלָם הַגּוֹמֵל לְחַיָּבִים טוֹבוֹת שֶׁגְּמָלַנִי כָּל טוֹב

Barukh atah Adonai, Elohainu melekh haOlam, ha-gomel l’chayavim tovot she-g’malani kol tov.

Blessed are You, Lord our God, ruler of the world, who rewards the undeserving with goodness, and who has rewarded me with goodness.

Then, the community responds: 

מִי שֶׁגְמַלְךָ כֹּל טוֹב הוּא יִגְמַלְךָ כֹּל טוֹב סֶלָה

May God who rewarded you with all goodness reward you with all goodness forever.  

Mi she-g’malcha kol tov, hu yi-g’malcha kol tov selah.

Service Section: Prayers for Healing & Peace, Prayers of Celebration & Gratitude
Source: Sefaria Community Translation