You must own the copyright to all components and content within your work or have a documented permission from the copyright holder(s) such as your publisher.
To learn more about copyright, visit the SU copyright guide.
The following Framework (adapted from Kevin Smith & Lisa Macklin CC BY-SA 4.0) includes five simple questions that can help you break down any copyright problem.