Https server

Hi every1. I’m pretty novice with the https server thing. I just got an certificate and a server. How can I make that, when a user comes to my site he is automatically taken to https://www.example.com instead of http:// ?