I know a guy who developed the same kind of thing you describe (obsessing about getting aids and hiv). He said his doc told him it was an anxiety problem. I think it would be best to talk to a doctor or therapist about this even a general practitioner may be able to give you a insight into why your having these thoughts.
Let us know how you go
Roy