Bruising is expected after eyelid surgery and it usually resolves after 7 to 10 days. Persistent bruising and discoloration of the soft tissues can occur. There is really no magic cure as this will ultimately resolve on its own. Occasionally alternating warm and cool compresses can help as well as on over the counter herbal product, Bromelean. The usual antibruising dose is 500 mg twice a day between meals.
There aren't any ointments that prevent bruising but a medication called Arnica may help (Google SinEcch). However, your best option is to use cool compresses after the procedure. Discuss this with your surgeon in advance to minimize your bruising.