Select Settings & Privacy > Settings. In the left column, click Timeline and Tagging. Look for the setting Who can post on your timeline? and click Edit to the far right. Click the dropdown menu and select Only Me.