If you suddenly come upon a rattle snake you should first stop and don't move and freeze in a position for a minute and then usually the rattlesnake will back up and leave you alone.
If you think the rattle snake is gonna bite you then you should slowly back away from the rattle snake or get out of the rattlesnakes way as fast as you can.
A rattlesnake is slow when it's compared to the speed a human can run so if you see a rattlesnake and think it's gonna attack you then you should run if possible.
A human can easily outrun a rattlesnake so run if you have too.
If you do get bitten by a rattlesnake you need to seek medical treatment as soon as possible because the venom from a rattlesnake is poisonous.