Learn the Sunnah of ghusl. ʿĀʾishah described it: he ﷺ would wash his hands, then wash his private parts with the left hand, then make wuḍūʾ as for prayer, then pour water over his head three times working it into the roots of the hair, then pour water over his whole body — starting with the right side. (al-Bukhārī & Muslim).

العربية: عن عائشة رضي الله عنها في غُسل النبيّ ﷺ: «يبدأ فيغسل يديه، ثم يُفرغ بيمينه على شماله فيغسل فرجه، ثم يتوضأ وضوءه للصلاة، ثم يأخذ الماء فيُدخل أصابعه في أصول الشعر… ثم يُفيض على سائر جسده». (البخاري ومسلم).

Follow this order in your ghusl — hands, private parts, wuḍūʾ, then head and body, right side first.