The two main causes of disc brake squeal are contamination with oil or similar and the pads having worn down to the bonding solution that attached then to the backing Plate.
In both cases the pads need to be removed, calliper (especially inside where rotor goes through) & rotor cleaned with disc brake cleaner And new pads fitted. Cleaning with white kitchen towel helps as it says white once everything is clean.
Clean , properly adjusted disc brakes won’t rub or squeal.