What to do if boyfriend has urticaria?

Not contagious. You are not at risk of catching urticaria from your boyfriend. The best thing you could do is be gentle with him, scratch his back, and get him some Benadryl (diphenhydramine) :-).