which anti virus? is your windows xp legal?
if your windows xp version is 32-bit, you need to install 32bit anti virus..
check before you download or install which version. 64bit software will not run on 32bit operating system (windows xp).
there is also a possibility that the antivirus you're trying to use doesn't support windows xp. check the software's support list or technical details to be sure.