Know where to pitch a tent.
If you are close to a stream, pitch the tent a few meters above the water. If it rains you don't know how quickly it can rise.
In the same wake, if you are pitching on a plain, pitch your tent on a relative rise. If you pitch in a relative depression rain will drench you.
If you pitch on a slope, and there will usually be slight slopes, pitch your tent so, that your head is facing upwards when sleeping.
If a storm is expected you might be inclined to pitch under a tree, but be careful. If a branch breaks off and hits you, that can be very bad.
If you pitch your tent in the open and it is a hot summer, the inside will get very hot very quickly. Make sure to get up and out early, don't get wasted at night and bring reflective covering. People died at festivals when they stayed in their tents when getting wasted and then getting roasted in their tents.