With regards to the equations: $P=VI$ ; $P=V^2/R$ and $P=I^2R$, if you are given $P$, $V$, $I$ and $R$ for a circuit, how do you know which equation to use?

Does the use of an equation have to do with whether the circuit is in series or in parallel?