Write the name(s) of the Plaintiff(s)Petitioner(s). 2. In this lesson, you will learn what an affidavit is and how to format one.You'll also review a sample template that can be used to construct an affidavit. Most courthouses have attorneys that help people fill out forms.