HR roles

Hi all, Currently enrolled on L5 Associate Diploma in People Management. I have worked in retail management for the last 16 years and decided to make the switch into HR. Although I have a lot of transferable skills I’m struggling to get jobs in the HR function. Any suggestions or advise please. Thank you