You can get rabies and rabies is a preventable viral disease most often transmitted through the bite of a rabid animal.
The way you can prevent it is by getting a rabies vaccination as soon as possible after an animal bite is the best way to prevent the infection.