From FAR AIM Chap 6 - That's an
American regulation by the way!
Section 3. Distress and Urgency Procedures
6-3-1. Distress and Urgency Communications
a. A pilot who encounters a distress or urgency condition can obtain assistance simply by contacting the air traffic facility or other agency in whose area of responsibility the aircraft is operating, stating the nature of the difficulty, pilot's intentions and assistance desired. Distress and urgency communications procedures are prescribed by the International Civil Aviation Organization (ICAO), however, and have decided advantages over the informal procedure described above.
b. Distress and urgency communications procedures discussed in the following paragraphs relate to the use of air ground voice communications.
c. The initial communication, and if considered necessary, any subsequent transmissions by an aircraft in distress should begin with the signal MAYDAY, preferably repeated three times. The signal PAN-PAN should be used in the same manner for an urgency condition.
d. Distress communications have absolute priority over all other communications, and the word MAYDAY commands radio silence on the frequency in use. Urgency communications have priority over all other communications except distress, and the word PAN-PAN warns other stations not to interfere with urgency transmissions.