Don't even think of plugging in your PC directly to the wall socket if you're in a developing country with routine power fluctuations. In that case, you should also consider getting an UPS.
Even if you're not, it definitely helps to use something like THIS
- You can get almost anything and everything plugged into that. Just make sure that the total draw from the wall outlet doesn't exceed the 5A/15A/20A mark as the case may be (The standard depends on where you're at)