I had unprotected sex few monthes back and started to have rashes recently. Red patches with little red spot. So is it hiv?

Rashes and HIV. Given the time frame you mention I am much more worried about syphilis. You must be tested. Hiv can show up with a pale full body rash, but this is rare. Syphilis can be deadly. It is time to get to a testing site or to your family doctor. Do not let fear delay you getting the information and testing you need.