Unless I've missed some other post, there's no way to know what phone you're talking about.
Usually an stock OTA zip can be downloaded through recovery, including TWRP. But full images usually require odin or Fastboot or some other manufacturer's installer software.
That's a general statement. If you want specific answers, you must be specific with your details.
Link of website:https://www.realme.com/in/support/software-update
Will this work?......if not then it would be great help if you tell me what to do
Thank you