Looks like you have been suffering from alopecia areata. Most trigerring factors being stress and yea genetic factors also play role in this. If topical creams are not working on you, intra-lesional steroid injection given every week for atleast a months might help. If still all the treatment fails you could consider follicular unit hair transplant with a dermatological consultation.