The paint is pulling away from the bath/shower. It is coming off in big sheets. How can I fix this from happening again?
redesign diva is correct. Ignore the rest.
It depends what kind of walling you have in your shower. I'm guessing you have just plain wall and not tile?
Your wall is getting wet somehow. Find the source. Dry it in and then paint it (if you must use paint) with a good gloss paint. It may sound odd but I use cement floor epoxy paint in some bathroom areas and it works wonders.
You need a fan in the bathroom. The steam from the shower or bath is making the paint peel.
Once that's done, simply paint the walls with latex paint. You can paint latex PAINT over OIL PRIMER but not over oil PAINT. Since it's a bathroom, your best bet is to use a paint made especially for kitchens and bathrooms. Bathrooms are high humidity rooms and bathroom paint will stop mold and mildew from forming. All paint companies have kitchen and bath paint. And, very important - remember to wait at least 24 to 48 hours after you finish painting to take a shower. This will help your paint stay where it belongs. Oil paint drys from the wall out to the air that hits it and latex paint drys from the air to the wall so make sure you wait before taking your shower.