Per your comments, you are using "mu" to denote "micro", as in one millionth of some scientific unit. Given this situation, you need to get out of the business of attempting to define your own micro symbol immediately. Instead, do please employ the siunitx package and its \unit and \qty macros to typeset scientific units and associated quantities. The macros \unit and \qty can be used in both text and math mode.

Observe that the typographically correct glyph for "micro" has serifs and is quite different from both $\mu$ and $\upmu$. Do also observe that \qty also automatically inserts a typographically correct amount of (non-breakable) whitespace between the number and associated unit.
% !TEX TS-program = pdflatex
\documentclass[11pt]{article}
%%\usepackage[utf8]{inputenc} % that's the default nowadays
\usepackage[a4paper,width=150mm,vmargin=25mm]{geometry}
\usepackage{siunitx,upgreek}
\begin{document}
\unit{\micro\meter}, $\unit{\micro\farad}$, \unit{\micro\second}
$\qty{4}{\micro\meter}$, \qty{5}{\micro\farad}, $\qty{6}{\micro\second}$
\end{document}
Addendum: The siunitx package provides the shortcut macros \ug, \um, \us, \umol, \uA, \uV, and \uL to denote one millionth gram, meter/metre, second, mol, Ampere, Volt, and Liter, respectively. Thus, the first line in the body of the document environment above could also be written succinctly as \unit{\um}, $\unit{\uF}$, \unit{\us}.
\mus as units, such as in 5 micro metres? – Skillmon Feb 12 '22 at 17:37\textmuor\microand globally change your\muto\microfirst which should only be a few seconds in any text editor – David Carlisle Feb 12 '22 at 17:47