If/Else not working properly

Also I read about the gains, but I’m still new to coding, so I’m not sure how to actually do them.