If you’re planning on switching from an oil based or water based painted surface to the alternative, it is critical to always ensure the relevant primer or undercoat is applied to the surface before applying the new paint base.
Switching between the two without including this step will result in paint not adhering to the surface and / or beginning to peel off very quickly after application.