Go to any major parts store and have the codes scanned (free) to find the problem. Disconnecting the battery is a no no. It will clear the codes but they will return until you fix the problem. The problem could cause damage to your vehicle so get them scanned and fix it.