Add this code into function.php of your child theme.

Please make all changes to the child theme files, and do not add the code directly to the theme files, otherwise after updating the theme your fixes will be lost

function.php

add_action( 'ocean_top_bar', function () {
	if ( function_exists( 'groovy_menu' ) ) {
		remove_action( 'ocean_top_bar', 'oceanwp_top_bar_template' );
		remove_action( 'ocean_header', 'oceanwp_header_template' );
		groovy_menu();
	}
}, 5 );

Note: You can find the child theme for the Ocean WP Theme in the Groovy Menu > Integration section