You could call AppleCare - but I dont think you have an issue that is fairly normal operation.
Your iPhone discharges, the number goes down.
When charging, the number goes up.
You could turn off the percentage display for the battery.
Settings/Battery. Turn off battery percentage 😀