Your question is of very low quality, but I'll attempt an answer anyways.
First thing I think you should keep in mind is the way DXA is setup. DXA is an MVC application that uses view models, so we are not talking about Component anymore that you want to retrieve in your views. If you have set your Component Template to be a dynamic one, then from there on you can just consider it as any other item, and you deal with the mapped view model in your views.
If your question is actually about executing a broker query, and retrieving DCPs that way, then I think it makes sense if you edit your question and provide a bit more detail, so you can get more detailed answers too.