Has anyone received a job offer then they posted a better position up?

How do you go about asking to switch….
Has anyone received a job offer then they posted a better position up?
Post Opinion