Treatment for urticaria, also known as hives, usually involves antihistamines and corticosteroids.
Prevention is the best bet for most cases of urticaria. In order to prevent an outbreak of urticaria you need to find out what has caused it. Because most urticaria is caused by allergens, identifying the cause could be as simple as backtracking to what you were recently exposed to.
If you cannot pinpoint the cause then it is best to visit a doctor, who may refer you to an allergist in order to conduct an allergy test. Once you have pinpointed the cause of your urticaria, avoiding that agent will be possible. Proper medication can also be prescribed to help the condition.