Hi hope This can help, next time we need details, I'm assuming you used blackrain to jailbrake/unlocked you're iphone, everytime you do a reboot it will go on recovery because you're using new bootrom, it's called tethered jailbreak (every reboot you need to run blackra1n again and again).
OK solution number 1 run blackrain again to you're device and it will be fine, then until next reboot run blackra1n again.
Solution 2 download umbrella get you're shsh in cydia in case any mishap happen to you're device.
here's the link to umbrella and if you want to know how to use it, just search the topic here, so many guides in how to used umbrella.
The Firmware Umbrella
Godd luck Guys!!CHEERS!!!