Does having a wet dream during the day in Ramadan break the fast?
Having a wet dream during the day in Ramadan does not invalidate the fast. However, one must perform ghusl (ritual purification) to ensure they do not miss their prayers.
What is the ruling on vomiting, and does it invalidate ablution?
Vomit is impure (najis). Its exit is not considered one of the nullifiers of ablution. However, the mouth must be washed and purified from it, and any that gets on clothing or the body must be washed for prayer, because prayer is not valid with impurity present on the body or clothing. And Allah the Almighty knows best.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
What is the ruling if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.