Copyright Infringement Risk

Can I face Copyright Infringement Risk if the content generated contains a copyright media? Does Open AI prompt if the output generated contains copyright data?