Cyber security is the wide field of protecting computers, networks and data. Ethical hacking is one part of it: testing systems the way an attacker would, but with permission, so weaknesses can be fixed first.
If you want a broad understanding of threats and defences, start with a cyber security course. If you enjoy finding weak points and want to move into penetration testing, choose ethical hacking. Many learners begin with security basics and then specialise.