To make perfect over hard eggs, crack eggs to a heated pan or skillet with some melted butter or oil.
Add salt (and seasonings if desired) and cook for about 2 minutes until the whites are about to set. Then flip and cook another couple of minutes until the yolks and whites are completely cooked.