Boil the pasta in boiling water.
Drain the pasta using a strainer.
Slice garlic and onion thinly.
Heat olive oil in a pan and sauté the garlic and onion.
Add bacon and cook together.
Add the cooked pasta noodles and stir-fry with the sauce.
Season with salt and pepper.
Serve on a plate and sprinkle with Parmesan cheese.