The duration of medication for urticaria varies from person to person, typically ranging from several days to several weeks, depending on the type and severity of the condition. It is recommended to use medication regularly under the guidance of a doctor and avoid stopping medication on your own.

1. **Acute Urticaria:** If symptoms occur suddenly and the cause is clear (such as food or medication), the medication period is generally short. Symptoms usually subside within 1-2 weeks, but the course of treatment should be completed as prescribed to prevent recurrence.

2. **Chronic Urticaria:** If the rash recurs for more than 6 weeks, the treatment period may be prolonged. Some patients may need to take medication continuously for several months or even longer to control symptoms and reduce the frequency of attacks.
3. **Individual differences:** The response to medication, the clarity of the cause, and lifestyle adjustments (such as avoiding allergens) can all affect the speed of recovery. Even if symptoms subside, it may be necessary to gradually reduce the dosage and discontinue medication.
In general, medication timing is flexible, but maintaining communication with your doctor is crucial. Do not stop medication arbitrarily just because symptoms temporarily improve, as this can easily lead to a relapse. At the same time, carefully observe your own reactions and record any potential triggers; this will help your doctor adjust the treatment plan and help you recover more safely.