Yes you can have Hiv even if you have had unprotected sex for any amount of period. I would suggest going to your doctor and getting a test. If you are scared many cities offers free clinics.
Information on this site is provided for informational purposes only.
It is not meant to substitute for medical advice provided by your physician or other medical professional.
If you have or suspect that you have a medical problem, promptly contact your physician or health care provider.