Hydrangea pruning in the City of Toronto

I planted a new hydrangea two years ago. It did not blossom the first year. This year is finally blossomed during late summer and was beautiful until the temperature dropped recently. Will you kindly advise me when and how the…