If you got the last Rakah with the imam, this is a valid congregational prayer.

Read more

If it’s regular discharge and not based from ejaculation, no need for ghusl.

Read more