Medication Question

I struggle with falling asleep at night so my psychiatrist prescribed me hydroxinze. I usually take one 25 mg tablet 30 mins before bed and it worked decent. Recently I had a lot of anxiety during the day and was put on buspar. I try to take the buspar mid day but I can’t fall asleep at night anymore at all. Could this be due to the medication? Anyone have experience with these meds? Please help🥺