How do I block users from accessing my profile?

To block the user from accessing your profile:
Desktop:  navigate to the users profile --> Block button
Cell / Mobile: navigate to the users profile --> click on the 3 dots beneath their profile picture -- > Block