A clouded headlight lens is partly a cosmetic question and sometimes a question about light output, and the first decision is what the haze actually is. A surface haze that wipes or polishes away is a different job from a crack, a chip, or moisture trapped between the lens and the lamp. Those are a shop or parts question. Starting with the haze is the simplest way to decide whether this is a job for you.
Tell the haze from the damage
Look at the lens in daylight, from the front and from the side. A surface haze looks even and dull across the lens. A crack, a chip, a lens that has come loose from its seal, or condensation inside the lamp means the lens or the lamp needs a shop's attention, and polishing will not repair it. Write what you see in a short list before you buy any kit.
What doing it yourself asks of you
Plan for a dry, clean working space and enough time to finish the job in a single session, without rushed steps. Read the kit's instructions against the lens material, and follow the product's own order for sanding, polishing, and sealing. Mask the paint around the lens. Take photographs before you start and after each stage, so you can see what changed. Keep the receipt for the kit and a short note of the steps with the car's paper, since that note is the only record of the work you will have.
What hiring it out asks of you
Ask the shop what process it uses, whether it removes the lamp from the car, and whether it seals the lens afterward. Ask what the invoice will describe, and ask for the work to appear as a line item rather than as a general service. Ask what the shop will inspect after the work, and whether the lamp will be checked for moisture before it goes back in. Do not accept a spoken description of the outcome. Ask for the description in writing, and read it against the lens you saw in daylight.
Read the paper before any stage of the job
Check the factory terms for the model year, and any service contract you hold, for language about owner work, aftermarket parts, or changes to lighting. Some paper asks for records of who did the work, and some says nothing on the subject. The paper decides which of those applies to your car, so read it before you begin, and ask the seller or the administrator to explain any term you do not understand. This page is not that explanation, and the lighting rules where you drive are a separate question to look up.
The decision in short
Doing the work yourself is a reasonable path when the haze is only on the surface, you have a dry and clean place, you have the time, the kit matches the lens material, and the paper is silent or allows owner work. Hiring it out is the more suitable path when there is a crack, moisture, a loose seal, or paper that asks for the work to be done a particular way. Both paths leave a record, and the record is what you bring to any later conversation. Decide for yourself.