Emergency - laptop not charging [Closed]

i got this school latop from FGSHS at it in grade seven a few months ago. so when i put my charger in yesterday the battery icon flickered orange then white. how do i fix this and also when i take the charger cord out my laptp automatically turns off fully plz help me. really need help