Note that $\frac{1}{(x-1)(x-5)}$ is undefined at $x = 1$ so
$$\int_0^3\frac{1}{(x - 1)(x-5)}dx = \lim_{s\to 1^-}\int_0^s\frac{1}{(x-1)(x-5)}dx + \lim_{t\to 1^+}\int_t^3\frac{1}{(x-1)(x-5)}dx.$$
To evaluate the two integrals on the right, we need to find an antiderivative. We do this by first applying partial fraction. Doing so we obtain
$$\frac{1}{(x-1)(x-5)} = \frac{-\frac{1}{4}}{x-1} +\frac{\frac{1}{4}}{x-5}.$$
Therefore $-\frac{1}{4}\ln|x-1| + \frac{1}{4}\ln|x-5| = \frac{1}{4}\ln\left|\frac{x-5}{x-1}\right|$ is an antiderivative of $\frac{1}{(x-1)(x-5)}$. Therefore
$$\int_0^s\frac{1}{(x-1)(x-5)}dx = \frac{1}{4}\ln\left|\frac{s-5}{s-1}\right| - \frac{1}{4}\ln\left|\frac{0-5}{0-1}\right| = \frac{1}{4}\ln\left|\frac{s-5}{s-1}\right| -\frac{1}{4}\ln 5.$$
As $\lim\limits_{s\to 1^-}\frac{1}{4}\ln\left|\frac{s-5}{s-1}\right|$ does not exist, $\lim\limits_{s\to 1^-}\int_0^s\frac{1}{(x-1)(x-5)}dx$ does not exist, so $\int_0^3\frac{1}{(x-1)(x-5)}dx$ does not exist.