There is universal security advice that applies to anyone who is online (e.g., using strong passwords and two-factor authentication), and specific security advice that applies to those who are at elevated risk of being targeted online in some way (which includes almost everyone, at some point in their lives).
Beyond that, there are many ways in which we may choose to maintain an online presence. It's valuable to understand the risks that we or those we work with may face and how those risks might change over time (sometimes gradually and sometimes quickly; for example if someone joins a political campaign), and to think through both reasonable precautions to prevent these attacks and how to react when they do happen.