Sorry if this is telling you how to suck eggs, but this is my approach:
1 clean the disc ( I use metho / alcohol and 2/3 seperate paper towels -it's REALY important to be able to spin the wheel as you clean so you clean evenly)
2 bed the disc in - ie ride for about 5 mins lightly dragging the brake, then do 4/5 progressively harder almost stops - DO NOT stop ( if you stop, you leave an uneven coating on the disc which causes squeal )
3 if it still squeals I check pad / slave cylinder alignment , axle is tight, wheel bearings are good , no loose spokes etc
4 if that doesn't work I try to figure out if the issue is disk or pads. I'm lucky enough to have several bikes so can quickly swap across wheels / usually have a few spare pads etc. NB if the pads have been contaminated, then some of the more porous disks also get contaminated - especially if you have spilt brake fluid / used a cleaning product with residue . Putting new pads onto a contaminated disk will ruin those pads within a few rides.
good luck