Dynamic mapping is changing existing fields format and type

We are not trying to update the existing index. We were trying to create new index with a mapping but it will change once the data is fed to that index. We need to avoid this