A defect like an incorrect pattern, upside down pattern, or a double face or double tail will increase its value. However, dents, scratches, wear or the inner metal showing doesn't improve its value.
A defect in a penny can add to the value depending on other factors such as the rarity of the coin and whether or not it is still in circulation. You can do a search to find out what it may be worth or take it to a coin dealer.