Since you say that you are learning,
Step 1 is to make sure you’re in the template that is showing the content for the page/post in question. I would suggest installing a plugin like https://wordpress.org/plugins/which-template-am-i/
Step 2 is that you must be inside “The Loop” https://codex.wordpress.org/The_Loop that is showing the current post/page/etc