Lean Adobe XD, figma for UI, create a Behance profile, create 8-10 portfolios. Modify your resume with chatgpt to showcase that you work on xyz project asa UI designer.
For UX, as it says, you need years of training and mental model to become a researcher in the field.
Research and understanding of the all businesses, different domain's knowledge be it finance, healthcare sector and it to say.
Apart from this, start reading blogs on UX.
You have to keep everything in your memory like how many pixels a button, inputbox and all web components should be for a mobile and a desktop. They gonna ask in the interview.