You were attacked by a guy that had HIV and you apparently scratched him in defence have you to worry about this you are so scared?

Only worry if you were cut too.
Either way you should get tested.