If you suspect that your Facebook account is compromised, you should change your password immediately. If you use Facebook as a login for apps such as Spotify or Instagram then you should change your logins. This will prevent hackers from gaining access to these third-party apps through your compromised Facebook account.
A compromised Facebook account could provide hackers a treasure trove of personal information. Hackers could use the information for malicious reasons, such as sending out spam messages to people or sending fake credit card offers. Hackers can also use hacked accounts to send spam messages or even post on your timeline (as in the event that it was you who did it).
One of the most common ways hackers can gain access to an account is when they exploit a flaw in Facebook's app code. For example, a bug in the iOS Facebook app allowed hackers to hijack cookies and steal an iPhone user's "access token." These tokens are digital keys that grant them complete control over the user's Facebook account, and thanks to Single Sign-On, any other websites the person is logged into using their Facebook credentials.
Hackers also have the ability to gain access to accounts through brute-force attacks. This technique involves guessing passwords, mostly the most popular ones such as 1234567890 and 123456789. Hackers may also gain account access by scanning compromised credentials. There are https://www.app-ink.net/transitioning-from-the-drm-to-the-vdr several free tools that can be used to search for stolen data, including a popular site called HaveIBeenPwned.