If you’re playing SwSh, you can use a mint to change its nature, preferably to adamant. If not, its nature is locked, so if you want one with a better nature, you’ll have to catch or breed a new one.
If you want to use your current Heracross, you can try EV training its attack.