How to remove Previous and Next post links or buttons

Hi,
I posted this question a few days ago, but cannot find it anymore, so I’ll post it again.
We use the Dazzling Child theme on a Learning Management Site.
A student can ave a list of their notes displayed.
When he is viewing a note, he’ll see links at the bottom of the page, to move back to the previous note or forward to the next note.
It happens that these links lead to notes/posts that have not been created by this user and therefore are not accessible to him. He’ll get an error message that he is not allowed to access that post.
We don’t want the student to get error messages
Hiding the links/buttons would solve this issue.
Can you tell me how we can hide the previous and next links on post pages?

Hey there

“Can you tell me how we can hide the previous and next links on post pages?” - I need to see them, please provide a link to this page or post type

Please also note, this is not part of the theme