@Widge422, I hope your pain and swelling are better. Likely the problem is that you weren't elevating enough throughout the day. How about icing? Those two things are really key in keeping the pain and swelling down.
Even if you can just lay down and elevate it for about half an hour every couple of hours (you can prop your upper body up on pillows to make it a bit more comfortable and still get a good elevation going on your legs). I know for me, sitting for extended periods would definitely bring on pain and swelling.
As far as not being able to do as many exercises, please don't worry. Josephine, the site administrator, would be the first one to tell you that hips generally don't need a ton of exercise beyond walking (unless there is a condition that specifically calls for certain exercises). Even the walking should be limited in these early days. Generally, just getting up and seeing to bathroom/hygiene stuff and going into the kitchen to get a drink and a little bit of walking around inside your house is plenty. You might have overdone it a bit. It's fairly easy to get those pains going in the beginning.
As far as infection goes, are you running a significant temperature? If not, I really wouldn't worry.
If anything does concern you too much, a call to your doctor is not an unreasonable thing.
Take care and I hope you're feeling better.
