You can’t really get rid of a black eye. The colored part is a bruise that will have to heal on it’s own with time. You can help it by applying a cold compress as soon as possible after you have gotten the injury. Keep doing this on and off for the first 24 hours or so. This will reduce the swelling and make the bruise be not as bad.