Related Content entity query I'm a little new. 
I need to create a view for related content between different content types, some have same taxonomies field other no. It is a multi language site. So, the view was a little complex, then I am trying with EntityQuery. This search needs to be updated each time that the user update a taxonomy

How can I present the result of my entity query in a node? in a custom block? where can I put my code ? 

I asking for a structure or a way to do it this.
How I solved my issue with this structure.



I created a manager here my_module/scr/Pluging/myManager.php

Here I have a function with a entityQuery that return a list of nodes.



I created a block here my_module/scr/Pluging/Block/myBlock.php

Here in my build function a call my function in myManager.php and I pass the name of the theme, and a variable with my list of nodes 



I updated my .module here my_module/my_module.module

In hook function my_module_theme() 
I add my theme and varibles to be pass. 



I created a twig here my_module/templates/block-related.html.twig

Here I just do a for to display all field of each node.



Then in my admin/stucture/block I added my block to display in Content section  in specific content type.