Step 1: Decide the choices a voter has.
There are $5$ candidates and at most $3$ can be picked. A voter may vote for $1$, $2$, or $3$ of them. Order does not matter, so we use combinations.
Step 2: Count voting for one or two.
\[ \,^5C_1 = 5, \qquad \,^5C_2 = \frac{5\cdot 4}{2} = 10 \]
Step 3: Count voting for three.
\[ \,^5C_3 = \,^5C_2 = 10 \]
Step 4: Add them up.
\[ 5 + 10 + 10 = 25 \]
So there are $25$ ways, which is option 4.
\[ \boxed{25} \]