How do you get an energy performance certificate

How do you get an energy performance certificate