the law is called Ohm's law.
this law states that the current flowing through a conductor is directly proportional to the potential difference applied across its ends, provided the temperature and other physical conditions remain unchanged. Current is directly proportional to voltage difference through a resistor.
i.e. V∝I
⇒V=IR
where r is proportionality constant which refers to resistance