Well, there are different schools of thought nowadays. However the basic rule is that when you use Dear Sir/Madam then you end with yours faithfully. When you know the name of recipient then use yours sincerely.
General example: Dear Mr Brown, blah blah blah. Yours sincerely, Me. When...