Music copyright problems on social media

How to avoid copyright problems when uploading content on social media?