The first thing you need to do is to fill up a pot with the desired amount of water that you wish to boil. It is really important to ensure that you do not fill up the pot to the brim, as that can create a mess as well as put your safety at risk.
Turn on your electric burner or stove and carefully place the pot of water on it. Do not keep the fire to a high setting. Even though keeping the fire to a high setting will make the water boil faster, there is a very strong chance of it boiling over irrespective of how alert you remain throughout the process. Therefore, it is strongly recommended to keep the fire down to a low to medium setting. You may have to wait a while longer for the water to boil, but at least you will not have to deal with the mess that water boiling over can create.
Remember to keep track of time while the water is being heated. If you move on to doing other things after placing the pot of water on the stove or electric burner, it may slip from your mind and result in the water boiling over. On the other hand, watching the water throughout the process can make it seem as if the water is taking longer to boil. You have to find a balance, i.e. busy yourself with something else while frequently checking the water to see if it has started to boil.
Avoid covering the pot in an attempt to make the water boil faster. Instead of getting the desired result, you will find the water boiling over because of the steam trapped in the closed pot that. Removing the pot top after the water has been boiled over can also put you at a risk of burning your fingers or hands.
You will know that the water is boiling when large bubbles rise from the bottom of the pot to the surfer of water. Before the large bubbles appear in water, you will notice smaller bubbles. These indicate that the water is getting hotter. Do not end up taking these smaller bubbles as an indication that the water has started to boil. Once the large bubbles start to appear, turn the electric burner or stove off.