It depends on your local building code.
You probably blew the breaker for the lights. While usually the lights and outlets in a room are on the same breaker, it isn't always done that way. And you may have blown the light bulbs in the lights.
It is a relay or switch problem. A circuit breaker or fuse won't keep a light on.
A 15 amp breaker protecting # 14 wire.
In a well designed house the lights are not connected to the same circuit as an appliance. If by going out you are saying that a breaker trips, then your appliances and lights combined are exceeding the rating of the breaker. You either need to rewire and balance the loads better or plug high current appliances into different outlets on another breaker. If you are not tripping breakers, but lights are just dimming you have a bigger problem with inadequate current supplying your house.
It depends on your local building code.
Install an AFCI breaker on the circuit with the outlets you replace and you will be fine.
#12/2wground & a 20 amp breaker should be enough for lights,receptales.
You probably blew the breaker for the lights. While usually the lights and outlets in a room are on the same breaker, it isn't always done that way. And you may have blown the light bulbs in the lights.
how do i find a short in my head lights ,tail lights work but not my head lights
Should be fine if that is all that is on the breaker.
Bad ground.
The circuit breaker is self resetting. you may have a short in the wiring.
It is a relay or switch problem. A circuit breaker or fuse won't keep a light on.
A 15 amp breaker protecting # 14 wire.
A breaker switch is easier to use.
Use a 30 amp breaker.