Add sticky on specific div and remove on other specific div

While scroll, I have to stick specific div and remove that stick as another below div come to screen.
Please anybody can help.

Thank you,