What should you do if your dog eats chocolate and gets really swollen?

That could be very serious. Chocolate is toxic to dogs and cats. See the link below. You'd better call a vet emergency line.