What are the risks of having urticaria from shampoo?

Minimal. Usually the itch and discomfort are the main issues if you develop allergic urticaria or allergic dermatitis from a topical solution. The best therapy is to discontinue use of the known irritant.