Forget your lies and move on- and just tell the truth from now on. Don't mention the past or pregnancy scare with anyone, friends or otherwise.
Forget this man also; he treated you badly whether or not he believed you pregnant- and you can do a lot better.
You shouldn't be having sex with him or anyone now. You should wait till you get into the right relationship. 17 is also far too young to have a child, so take precautions if you must have sex- both for STDS and pregnancy.
Pls behave with caution till you meet someone better. Try to immerse your self with hobbies& friends so you don't obsess about men and babies for now. Good luck.