Hello and welcome.
-Which model Mac?
-Which version of OS X are you currently running?
honestone is correct - the App Store > Purchased section would be the only legal way to obtain it. Depending on which version of OS X you are currently on, you can download 10.11.5 El Capitan for free from the App Store.
C