After the form submit you can redirect the user to the thank you page or display a thank you message on the same page.
Redirect user to thank you page
Display Thank You message