I can’t give specific advice as a doctor but in general:
Try a wrist splint at night (and during day if possible) for a few weeks and see if it helps.
If you fell on it or something, an x-ray is useful for seeing if you have a fracture. If it’s a chronic problem, even that isn’t needed usually.
For chronic wrist pain, people rarely require any treatment other than rest/splint. Only after trying a splint for a few weeks should anything else be considered.
If your job involves a lot of computer work, consider an ergonomic keyboard and mouse (mine doesn’t, but even that helped for the 1-2 hours a day I use the computer). That can prevent future injury if your pain is specifically caused by typing/using a mouse, and may help with your current one.
An MRI isn’t that useful, and I would only get it if an orthopedic surgeon suggested to get one for surgery planning. However I’m not your doctor so probably should listen to their advice, and maybe discuss the above suggestions with them too