CREATING A REPOSITORY FILE

when i tried to create a repository file and tried "yum repolist", the following error found. please try to fix it
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel. Please verify its path and try again
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel. Please verify its path and try again