Is it mandatory to give inj TT in patients presenting with dog bite. Should anti rabies vaccine be given to pts with dog scratch, lick.

Is it necessary to give rabies vaccine for those bitten by digs which are vaccinated?