How to stop Minecraft lag?

Okay, so I recently had some malware on my computer and I removed it all. Minecraft was lagging when I had the malware on it. I got the malware off, and it still lagged. I set the render distance to tiny, set fast graphics, and took off smooth lighting. It helped a little, but it still lags a little, I don't know if it is possible to remove All lag, but i don't know what else to do. I have an old computer, a dell laptop and i recently updated it to windows 10. I don't know what a graphic card is, and i would also like to know how to find it on/in my computer if it even has one. All answers appreciated, thanks.

p.s. I won't be able to get any kind of desktop setup anytime soon.

Added (1). Note: I don't know if this changes anything, but I bought Minecraft from the official Mojang website using a gift card. Also, is there a way to change your username, because mine is so stupid, I hate it.

Alyssa,
You do not mention which laptop you have for playing Minecraft. There are many post on the internet for eliminating lag from the game. Below are some links to help you out.
How To Eliminate Lag in Minecraft

Minecraft: How to Get No Lag in Minecraft! (Minecraft 1.8) - [2016] [HD]

How to stop Minecraft lagging
http://www.mineplex.com/forums/m/11929946/viewthread/9701363-how-to-stop-minecraft-lag/post/last

How to Reduce Lag and Speed Up Your Minecraft!
https://www.planetminecraft.com/...minecraft/

Thank you,
Dell-Jesse L
Dell Social Media and Communiites