Redirect to a page after Registration
Ultimate Member provides an option that the user can be redirected to a specific page like their profile, use a custom URL, or a custom message after registration.
Go to wp-admin> Ultimate Member > User Roles > edit the default role > Registration Options
If there is an issue encountered after registration and it redirected the user again to the registration form, try using this code:
Warning: We have created this code example to provide guidance and to make it easier for you to implement this code into your website. However, we are not able to provide any support when it comes to customizing the plugin. If you need help implementing this code, please hire a developer.