That's a physical urticaria, the cause can be any physical stimulus.
Once those hives stay more than 6 weeks continuously, one should consult a dermatologist to sort out other causes that may have lead to chronic urticaria.
If those hives stay for less than 6 weeks, one can try over 2 to three months with anti allergy medication like Loratidin.
Suggestion :
Get Loratidin and take one to four tablets a day upon need .
At night you can take 20 drops of Fenistil because it can make one sleepy.
In case a hive stayed more than 24 hours and the anti allergy medications didn't help much to stop it . You can get hydrocortison cream 0,5 % and cream the hive.
Hope that helped you a bit . For more information about your case you can check this link :
https://gaapp.org/forms-of-urticaria/physical-urticaria/
Please drop me down the word ( Danke) and ( 3-5 stars ) review . Otherwise justanswer don't pay for our help .
If you got more questions , let me know .
Dr. Njaim