Turn signals

My turn signals/hazards are not working the weird thing is that its a on and off thing one day it worked the next it didn’t it’s weird it keeps doing that any one know what it could be?

Most likely either the hazard switch or the signal/hazard light relay, [flasher].94