You can set the image that displays on a social media platform when a link to your website is posted:
In Craft CMS navigate to the page you wish to customise (e.g. the homepage)
Click the SEO tab
Scroll down until you find the social media platform you want to customise your image for:
4. Upload the image and save.
The image you've chosen will now be posted alongside the link to that page.