I am painting our entire wooden house (about 40 years old). Some is painted and some is stained. I have already started some sections and have some questions/concerns. Where I have painted the stained section, the undercoat has started to yellow/discolour. What am I meant to put on there before the undercoat?
The painted section is also not adhering, I think it is oil based and I asked the bunnings paint section man and he said the undercoat I bought would be fine to go straight on and I didn't need to sand the wood. I have spent a lot of effort painting this section and the paint just scratches straight off, it's not sticking to the wall at all. Is this normal? was I meant to stain?
Please help! Pictures attached. 

