Allergic reaction

Can you have an allergic reaction to cream medication for a vaginal infection ? How would you know if you had/have one? Last time i had one to the pills so they switched me to the cream