Only what the 5 mg arm reported, and the denominator is that arm rather than the trial. Adverse-event tables are published per arm, so the 5 mg incidence of headache has its own numerator and its own denominator, and pooling it with the other arms produces a figure that describes nobody. Two further deductions before you use it. Subtract the placebo arm — headache occurs in people who received nothing, and the difference is the part attributable to the drug. And check whether SURMOUNT-5 counted events or counted participants: one participant with six episodes is one row in a participant count and six in an event count, and the two get quoted interchangeably. Nothing here is medical advice.
Answer first: read the primary endpoint, the comparator and the population before you read the effect size. Almost every argument on this site about a trial is really an argument about one of those three.
Duration decides what can be seen. A 68-week trial can measure weight and glycaemia; it cannot measure anything whose event rate is one per cent per year without enrolling tens of thousands.
Placebo arms in this class are not nothing. Lifestyle-intervention placebo arms in the major obesity trials commonly lose two to three per cent of body weight, so an active-arm figure quoted without its comparator overstates the drug effect by roughly that much.
Registry entries at ClinicalTrials.gov carry the pre-specified primary endpoint with a timestamp, which is the cheapest available check on whether an endpoint was changed after the data were seen.
Be careful about generalising from a trial population to yourself. The exclusion criteria are usually the most informative page in the supplement.
Read the protocol and the statistical analysis plan if the result matters to you. Both are usually published alongside.