It is recommended to err on the side of caution and throw the pills if you are unable to tell if they are damaged or not. Pills that are cracked or damaged run the risk of early release of their active ingredients or being contaminated, making them dangerous to take.