We all know that plagiarism is a crime and can ruin your career.
The key point is how not to do it. A starting point is here.

In 2021 Hunter gave four excellent workshops NOT about avoiding plagiarism, but about using easy, professional practices to make plagiarism unavoidable, in fact unthinkable:

It’s also good to read about plagiarism and plagiarism detection. If you find a good resource, please send it to Hunter! Thanks in advance! (I hate that expression.)

Plagiarism detectors
The downside of plagiarism detector tech Nature article