I was in doubt if my period came at sahoor. So I didnt make neeyah for the fast. Its afternoon and I don't see any blood, just the white discharge. Can I make the neeyat now and keep the fast? Also can I pray namaz? If yes do I need to take a shower before praying?
For obligatory fasts you have to make the intention (niyyah) before fajr. An intention made at the beginning of Ramadan to fast for the whole month of Ramadan is also sufficient unless it’s broken (by being sick, traveling, etc.), then you would need to make a new one. And what you experienced is most likely spotting before the period. So for that you can pray and fast as usual but you need to perform wudu before each salat. Allah knows best.
Prophet (peace and blessings of Allaah be upon him) said: “Whoever does not have the intention of fasting before Fajr, there is no fast for him.”