Is it safe to drink alcohol when I have rashes that was caused by allergic to certain cream?

Yes. as long as the ingredient in the cream that you reacted to wasn't alcohol. Remember that alcohol causes flushing of the skin, which could make your rash itch more temporarily. Never drink to excess, and don't mix alcohol with the antihistamines that are commonly used to treat allergic reactions. Hope this helps!