According to Samsung website, s24 support up to 25W and s24+ or Ultra up to 45W if you want to use super fast charging mode. Note that the USB cable shall be compatible also. Using Samsung charger and cables seems to be the easiest way to have a good setup. Best charger or charging conditions are the slowest you can accept to improve battery life time, as well as limiting maximum full charge a 80% or similar percentage and avoiding all deep discharge below 20%.