Start by reading the official wiki and identifying your version. Then, return with any specific questions you might have.
e.g., there is no OpenWrt support for the v3 (aka RD05) on the Realtek SoC.
If you have a v1 or v2 on MediaTek SoC, follow the OpenWrt install guide here: