Maybe onlyfans does these things (i have no idea) and its not 100%, people will still get hacked but things that come to mind:
* have educational material on how to secure your account (they probably have the only audience in the world that would actually read something like that)
* rate limits/login captcha/etc
*Handle suspicious logins (diff geoip) differently
* password requirements (not the stupid one symbol thing, but the ban every password that has ever appeared in haveibeenpwnd version)
*making it easier for people with hacked accounts to get meaningful help. Response is just as important as prevention.
*mandatory 2fa (people who willingly use 2fa are usually people who have strong passwords and benefit the least)
Onlyfans is in an industry with a higher threat profile than average tech company, they should have a higher account security standard.