Is the perso allowed to perform prayer if there has not been any intercourse or perform ghusl then have prayers ..The fact is thinking about having sex but not in that process.Thanks
AS @hamza-islam said there are at least two or 3 types of liquid, one of them is semen (maniy) and the others are more or less normal liquids (madiy and wadiy), that come out due to sexual pleasure. The difference between madiy and wadiy is that the later comes out after peeing!
If semen comes out ghusl is fard/farz. And semen comes out during orgasm! But if madiy or wadiy comes out one has to wash his private parts and his clothes if one finds them wet of it! And then one can do wudu' as usual for prayer!
And Allah knows best!