First time mom

Need help! I never experienced this until I hit my second trimester (now in my third) all of a sudden rn started having harmful thoughts about my baby and other people and pocd as well been stuck in my mind for months now. Anyone else experienced this? Does it go away or is this forever now😢