problem using ds18b20 sensor and water pump with relay

It looks like you're powering the relays and the motors from the Arduino which won't be able to provide enough current. The motors at least will need their own power supply. What are those relay modules?