A hole in your eardrum may have been caused by an infection or an injury.  Usually such a hole will heal by itself.  If it does not heal it may cause recurrent infections or a hearing loss.  Simple measures such as preventing water from getting down your ear may prevent further infections but sometimes an operation to repair the hole, called Myringoplasty is required.