I have been having bleeding from back of head and it happened thrice and menses since July till now and thrice breast blood spotting. Is this any way to stop this. What test to you recommend the doctor do? And what kind of prayers I will need to do if needed.

Please check your hormone and see a good gynecologist.
there is dua from Sheikh Bahayee r.a anyone if has any problem 10 day every day 100 times if this dua will recite Allah (swt) will remove his/ her problem
Dua:
بسم الله الرحمن الرحیم: یا مُفَتِّحَ الاَبواب،یا مُقَلِّبَ القُلوبِ وَالاَبصار،یا دَلیلَ المُتَحَیِّرین،یا غِیاثَ المُستَغیثین،تَوَکَّلتُ عَلَیک،یا رَبِّ اِقضِ حاجَتی وَلاحَولَ وَلاقُوَّةَ اِلّآ بِاللهِ العَلِیِّ العَظیم،وَصَلَّی اللهُ عَلی محَمَّدٍ وَآلِهِ اَجمَعین