Don't worry, it's a snake, it happens. Just give it some space.
My advice: Don't back off when you get bitten, or else the snake will always attempt to bite you because it knows that's how it can get rid of you. If you ignore the bites, it will bite less and less. Good luck.