OMGoodness!!!!
First of all, I would suggest you call the hospital and talk with a patient advocate about your experience there.
Knowing that you are having some sort of reaction to something, I'm not sure why they sent you home. IMO, they should have kept you for observation if anything. That would be normal protocol.
Also, start with your PCP and let them know of your experience and what you are experiencing now in regards to the pain, rash, hives, and headache.
If you feel worse, go to the ER. Go to another hospital if you need to and have a different one in town.
I'm really sorry you had to experience all of this. Please let us know how you are doing.