If you are unfortunate enough to find yourself arrested whilst on holiday and taken to a prison cell, then you are entitled to receive a visit from the British Consul - you should insist upon seeing the British Consul and you should not make any statement until you have spoken to the British Consul and you have been advised of your rights and offered the services of a local lawyer.
You may also find this site of assistance:-
Fair trails abroad information click here