Nofollow external links

We need Rel=“nofollow” for external links, for example I use affiliate links and they have to be nofollow. Can anyone tell me how I can add external nofollow links, preferably via the “Product Recommendation” function?

Why do they need to be nofollow? Genuinely curious as I use affiliate links also