Well, your parakeet is scared as would any untrained parakeet. When your bird bites you I would recommend lightly blowing on him, and he will probably look away. If he does bite you anyways though, try your best not to flinch or pull back. After a while of this, he will realise he aren't affected by his attack, and he won't do it -at least not to often-.