If you are writing to someone whose name and title you do not know, use the greeting Dear Sir or Madam, and the ending Yours faithfully, signing yourself with your initials and surname.
If you are writing to a named person, address them as Dear Mr/Mrs/Miss/Ms, and end Yours sincerely, followed...