Ionic 4 - clear history

Hi all,
I looking for solution to clear history after click and load previous page.
I have Page1 where is input text field where user can type some text and after that click ok then
afeter loaded NextPage, user click and back to previous Page1, but field is filled in.