Updated: March 29, 2018
Short answer: Yes.
Long answer: Yes, but there are different ways to do it.
In general, you want to tell people that you are including affiliate links or that a specific link is an affiliate link BEFORE they get to the link. You don't have to post a disclaimer at the very beginning of your post if you don't want.