They did absolutely nothing. Reagan didn't even say the name of the disease for FIVE years.
He did, however, relish that it affected gay men. See e.g. his comment from 1981, "maybe the Lord brought down the plague because illicit sex is against the Ten Commandments."
He finally, in 1986, allocated funds - so ridiculously low that congress allocated the five-fold amount. He tried to cut it down before passing that. In 1987, he did cut down the money allocated for research. (Which has sod all to do with drug use or sex - we didn't even know what AIDS really was)
The gay community lost an entire generation of men. Because America had a Republican administration that, during an epidemic, chose to gleefully[1] let people die instead of acting. Meanwhile, they chose to privately help their friends - Reagan helped his buddy Roy Cohn to get experimental drug trial.
The whole "they just wanted to suppress recreational drug use and unprotected sex" is BLATANT retconning. Nobody was aware how it spread, people assumed you could get it through touch, saliva, etc.
Trying to spin this blatant murder of gay people by an administration into a public health concern is frankly disgusting.
[1] https://www.vox.com/2015/12/1/9828348/ronald-reagan-hiv-aids