Call your home country's embassy or Consulate in Manila in a crisis. The embassy or Consulate can provide you with information on the Philippines legal system and a list of local attorneys.
Note that the embassy cannot "get you out of jail," pay your bail or any legal fees, or provide you any legal advice. The numbers for the United States Embassy in the Philippines are: During business hours +632 530-120-00 Outside business hours +632 530-120-00 Outside of the Philippines: +632 530-120-00