So using the quadratic formula to give the solution for $x$ (in terms of $p$) for:
$$px^2+2x+1=0$$
which as far as i've figured out gives:
$$x = \frac{-2\pm\sqrt{4-4p}}{2p}$$
but i don't know how to find the values of $p$ that make this equation have real solutions for $x$.
It has a real solution if the term inside the square root is nonnegative, that is $$4-4p \geq 0$$
$$4\geq 4p$$
Divided by $4$, we have
$$1 \geq p$$
Note that $4-4p$ the term inside the square root, is also known as the discriminant.
Remark:
Consider the case when $p=0$ separately, in that case, the equation is a linear equation.