After the first visit, the browser switches http to https by itself, so an attacker on a public network can't serve an unencrypted version. Before turning it on you have to be sure the whole website and all subdomains work over HTTPS, because undoing it is slow.
In practice: Guide: how to secure WordPress, including security headers