Hot flash’s and night sweat

Are they an early sign of pregnancy or ovulation?