First you should try taking away anything fun that he might have with him such as tablet, phone, video game etc.
Ground him from watching TV or using the computer or whatever he does for fun don't let him do those fun things.
If all else fails give him a good spanking for his tantrum. Never give into a tantrum because if you do give into a child's tantrum they will then know that if they throw a tantrum they'll get their way and you don't want to start that.