Whats the best way to install SSL certificate on wordpress blog

I have created a new WordPress blog on a .com domain and just added a post on it. I want to install SSL certificate on this blog. Want to know whats the best practice to install SSL certificate ? Its before WordPress installation or after WordPress installation or it doesn’t matter ?

Please guide thanks in advance