It depends on the situation. Dofollow links pass link equity and are used for endorsements, while nofollow links are used when you don't want to pass authority or when linking to untrusted content.