Here you will find resources that can help you find information (existing patents, publications on what you want to patent. Etc.) before applying for registration of an invention.
You can use the patent search service, formed by a team of librarians of the UPC, which will help you to search the databases of patents available in the UPC. Contact it!