How do you use effectively in a sentence?

(in an efficient manner, or practically)

To effectively reduce the incidence of malaria, mosquito populations must be eliminated.

The revelation effectively ended the candidate's campaign.