Site icon Hip-Hop Website Design and Development

How to get next post and previous post URL in loop, single.php My WordPress 4.9.6

I want to show next previous button in single.php please suggest me the possible way, I’m stuck at these point in my site development

Next

Previous

> <?php posts_nav_link(); ?> <?php
> posts_nav_link('separator','prelabel','nextlabel'); ?> <?php echo
> get_next_posts_link(); ?> 
> 
> Default Usage
> 
> <?php echo get_next_posts_link(); ?>

just want to add links in these buttons please suggest me the best way and links need to add in the loop.

I have tried basic functions but can’t get output as i want