The correct way to avoid plagiarism is:
By citing the source of your information when you are not using your original ideas.
This ensures that you give proper credit to the original author or creator of the ideas or information you are using. Other options listed, like using a thesaurus to change words or copying and pasting from the internet, do not effectively prevent plagiarism, and using someone else's ideas without acknowledgment is plagiarism itself.