When does the bloating end?

Mutinta
I'm 17weeks 3 days pregnant with second baby and I'm severely bloated. Starts midday and gets worse till i sleep. My first pregnancy it stopped second trimester (14 weeks). It's terrible. What can i do to reduce or stop it?