How to display a Paragraph field with a condition
Depending on how complex your logic is, you can either write it inside the paragraph preprocess function, as in:

function THEME-NAME_preprocess_paragraph_PARAGRAPH-TYPE($variables, $paragraph) {
  if(some_condition) {
    $variables['field_name'] = $paragraph-&gt;get('field_name')-&gt;value;
  }
  // ...
  return $variables;
}


or write the same logic inside twig template if its simpler, as in:

{# paragraph--PARAGRAPH-TYPE.html.twig #}

{% if condition %}
  {{ content.custom_var }}
{% endif %}


I can elaborate and edit this answer if you are more specific.