It is not necessary to hire a trainer but if you are a beginner and joining the gym for the first time, or you want to have proper training, it is recommended to hire a personal trainer who will guide and invest all of their time in training you.