An Antisludge agent is used to prevent or eliminate the formation of sludge when acid comes in contact with oil during an acidizing operation.