Yup, brushing teeth directly after eating citrus / drinking orange juice etc. is a known big no-no.
Colgate website says to wait 1hr after drinking orange juice, drink water in between, and/or use a toothpaste without sodium laurel sulphate
https://www.colgate.com/en-us/oral-health/brushing-and-floss...