I think the hazards are fused separately to your turn signals so best bet would be to check that first
If its not that I'd check an make sure the switch is actually plugged in, then replace it if still no luck

Sent from my SM-G935F using Tapatalk