Sd card not working properly

Return it to where you bought it as defective and get another one?