To get previous & next page URLs in Umbraco, you can use below piece of code in your razor view.

@if(CurrentPage.Previous() != null){
       <a href="@CurrentPage.Previous().Url">Previous</a>
}
	
@if(CurrentPage.Next() != null){
       <a href="@CurrentPage.Next().Url">Next</a>
}