Use this function of wordpress
get_permalink( int|WP_Post $post,bool $leavename = false )
Like this…
<a href="https://wordpress.stackexchange.com/questions/338745/<?=get_permalink()?>">Apply to job </a>
Documentation :
https://developer.wordpress.org/reference/functions/get_permalink/
Anyways if you want get the title of current post use that:
https://developer.wordpress.org/reference/functions/the_title/