There are a couple of issues you have to deal with on a dynamic website that are less problematic on a static site.
The first is duplicate content. Dynamic websites can show the exact same page on a potentially infinite number of URLs, and many of them might get crawled and indexed. This can happen on static sites too, but on nowhere near the same kind of scale.
The other thing you might need to pay attention to on your dynamic site is load speed. Static websites tend to be a lot faster, all else being equal. Poorly configured dynamic sites might take ages to load and this can hurt your search performance.
These days, dynamic sites are the norm for most business websites.. even when the site is doing nothing that couldn't be delivered in static, people will opt for a CMS like Wordpress for its ease of use, wide availability of themes etc. So any up-to-date SEO advice you follow will almost always be written for a dynamic site.