Theorem (lifting theorem)
Let $p: (\tilde X, \tilde x_0)\to (X, x_0)$ be a based covering map, and $f: (Y, y_0)\to (X, x_0)$ be a based map.
Assume $Y$ is path-connected and locally path-connected. Then there is a lift $\tilde f: (Y, y_0) \to (\tilde X, \tilde x_0)$ of $f$ iff $f_\ast$$(π_1(Y, y_0)) \subseteq p_\ast(π_1(\tilde X, \tilde x_0))$.
Proof: Bredon Chapter 3 Theorem 4.1.
Note if $Y$ is simply connected, then we always get a lift.