Find the prime factorisation of your original number, $$n=\prod_{i=1}^{k}p_i^{e_i}$$
with $p_i$ being distinct primes, $0<e_i\in \mathbb{N}$, etc.. Divide all exponents by 2. This is the factorisation of the square root, $$\sqrt{n}=\prod_{i=1}^{k}p_i^{e_i/2}$$
Take the product of the primes raised to the integer part of their new exponent. Call this product, $a$.
Take the product of one copy of each prime which has a non-integer new exponent. Call this second product, $b$.
Now $$\sqrt{n} =a\cdot \sqrt{b}$$
More generally, you can use this method to find cube, quartic, quintic, etc. roots in a similar way, dividing by that number, then grouping together primes with exponents equivalent modulo the level of root taken, such that $b'$ includes primes exponentiated sufficiently to account for the non-integer part of the new exponent, and placed inside an appropriate surd.