If you were affected you would be logged out of your account and you should have received a notification from Facebook. Log back in and change your password and setup 2 factor authentication.
Two-factor authentication is a security feature that helps protect your Facebook account in addition to your password. If you set up two-factor authentication, you'll be asked to enter a special login code or confirm your login attempt each time someone tries accessing Facebook from a computer or mobile device we don't recognize. You can also get alerts when someone tries logging in from a computer we don't recognize.
See this article here to setup 2 factor authentication for Facebook: 2 factor authentication Facebook
[amazon_link asins='B0765CYPKK,B01MYC51KL,B07CYFFH4H,B01K5XELFQ' template='ProductCarousel' store='geekadviser-20′ marketplace='US' link_id='cf964bc8-c68a-11e8-a50f-ff7f7551687c']