This could be as a result of a fault in the fuse panel. It could also be because of fault in the thermal flasher. You need to take your vehicle to a professional mechanic for diagnosis and have it fixed.
Turn them in and then go outside and see if the front and rear lights for each work. A bulb might need replacing; if you figure it out then the shop doesn't have to charge you the time to figure it out.