My email got hacked

My email got hacked

I'm noticing hundreds of bounced emails from people (mail deliver failed) and it looks like my mail account got compromised at some point until I changed my password. How do I prevent this in the future and secure my account better?