1. Configure mail application for example Thunderbird. S/MIME does not work in the browser.
2. Generate your public and private key using for example ssl or extension to your mail application.
3. Create a certificate signing request using for example ssl.
4. Send request to "third Party" authority. There are many free and payed authorities, however the second ones are more trustworthy.
5. Download signed certificate and certificate of the authority.
6. Import signed certificate and certificate of the authority to mail client.
7. Now you can sign your emails by the certificate.