To set your profile to private, tap on your avatar in the top left of any tab and then tap the pen icon in the center. The option to private your profile will be listed beneath Geolocation.
This means other users will not be able to view your profile, plants, or moments. If you tag a plant in a Community post, only that plant will be visible to the community.