12 v / 230 v Separation ? Battery ? Charger, power supply…?

Hello ! The search did not give me the matching answers to my question marks in the head, hence as its own topic: In my caravan I have installed an 80 Ah gel battery, this is charged by Ctek device. If I stand now for example on the camping site, and come in from outside 230V, then is charged and at the same time unloaded again … believe that is not good for the battery, or ? The charger doesn’t seem to get that…? Will it take more from me than after eladen. The Bordelectrik is mainly on 12V, so a few lights, radio, water pump… Refrigerator and a few lights also go to 230V. How can I solve this ? Thanks for the tips ahead