pregnant, 18, single, council flats?? helpppp

Tara
Hi everyone, I am 18 I am newly pregnant 7 weeks and 3 days.
I don't want to be stressing but what kind of benefits can I claim and when can I claim them??
And I cannot live in my parents home as there is no such room for a new born and it's cramped as hell at the moment. 
I was wondering is it best to apply for a council flat when I hit 5-6months or shall I wait until I'm in my last trimester and apply for emergency. I think that's abit risky but I feel like they will only put me in a hostel or somewhere uncomfortable. 
Or could I find my own flat and pay the deposit which accepts housing benefits????
Someone with some sort of advice please you will be a lifesaver!!!!! 💙💙
When is best to apply for council flat and benefits ???
Thankyou!!!