Since the rights granted under the copyright laws are exclusive to the copyright owner (s), you infringe copyright if you do one of the following actions without the permission of the copyright owner (s), e.g. if you are copying copyright protected work, or adapt it or make it available on the Internet.
The best way to avoid copyright infringement is to ensure that you do not use any work created by others. As simple as that.
If you use the work of someone else, you should ensure that you have the necessary permissions - this usually takes the form of a license of the copyright owner (s), for which you may have to pay. In certain cases, you may use extracts of copyrighted material without a license, for example, if you use a small portion of the work of someone else for the purpose of reviewing or reviewing, or if you use Fair Use in accordance with applicable law (In particular US law), but a more detailed explanation of these exceptions would go beyond the scope of this guide. If you intend to use any part of a copyrighted work in accordance with the legal exceptions, you should seek legal advice beforehand.