Creating an ERC721 Simple contract to mint NFTs

I am trying to create a smart contract that will let people mint NFTs (500 supply) at a given price of 0.01 ethereum.

I am somewhat new and have been following tutorials but have generated this code using the contract wizard here:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract MyToken is ERC721, ERC721Enumerable, ERC721URIStorage, Pausable, Ownable {
using Counters for Counters.Counter;

Counters.Counter private _tokenIdCounter;

constructor() ERC721("MyToken", "MTK") {}

function _baseURI() internal pure override returns (string memory) {
    return "**example**";

function pause() public onlyOwner {

function unpause() public onlyOwner {

function safeMint(address to, string memory uri) public onlyOwner {
    uint256 tokenId = _tokenIdCounter.current();
    _safeMint(to, tokenId);
    _setTokenURI(tokenId, uri);

function _beforeTokenTransfer(address from, address to, uint256 tokenId)
    override(ERC721, ERC721Enumerable)
    super._beforeTokenTransfer(from, to, tokenId);

// The following functions are overrides required by Solidity.

function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {

function tokenURI(uint256 tokenId)
    override(ERC721, ERC721URIStorage)
    returns (string memory)
    return super.tokenURI(tokenId);

function supportsInterface(bytes4 interfaceId)
    override(ERC721, ERC721Enumerable)
    returns (bool)
    return super.supportsInterface(interfaceId);

I have uploaded 500 images to IPFS and have a link, would I input that into the baseURI? I'm also assuming I have to change the mint function here to be open to anyone and require 0.01 ethereum.

Is there anything else I'm missing?

Do you want your users to pay the fees of minting themselves

Yes, so the exchange would be them purchasing an NFT

Yes, that's lazy loading.
You have to change minting from onlyowner to payable