I'm not good at English. What do I have to do if I have used someones code in my project? Apache 2.0

I have a github folder to install The YaCy Search Server and I have used a small part code from this project. https://github.com/chocolatey/choco/blob/f924d47fb4177a9a34ff0c2bf995938b5c12800b/LICENSE

Apache License
Version 2.0, January 2004

Please advise of best practice of what I should do to use it in my project?