You can get rid of your black eye by applying a cold ice pack to the black eye and then after two days take a warm compress and apply the warm compress over the black eye which will help increase the blood flow.
A black eye will normally go away even without treatment within 2 weeks but sometimes applying an ice pack and a warm compress will make the black eye go away sooner.