Bismihi ta'āla
Ignore these intrusive thoughts. What ignore means is dont repeat. Whatever the circumstance may be, to avoid developing waswasah, dont repeat. This is your fiqhi duty.
And Allah knows best
Shaykh Dr Zaid Alsalami is an Iraqi born scholar, raised in Australia. He obtained a BA from Al-Mustafa University, Qom, and an MA from the Islamic College in London. He also obtained a PhD from ANU, Canberra. He has written and translated several Islamic texts and also prepared educational videos on Islamic rulings and practices.