Arduino output goes high or low automatically

after power on(ie after 10 to 20 mins) arduino output pins(Pin 16,17 of atmega328p) automatically goes high or low without program control

load is 2 5v relay

Give us a clue by supplying the code and circuit.

Weedpharma

Which one is it? Does it go high or does it go low? Unless you've invented a quantum computer, it can't be both.

And don't use pin numbers. Use the Arduino names for the pins.

If it's the ATmega328P-PU (p28-pin PDIP) then '16' and '17' are Pin 10 and Pin 11.